File Attribute - Editing

Editing

In DOS, OS/2 and Windows Command Prompt, attrib command can be used to change and display the four traditional file attributes. File Explorer in Microsoft Windows can show the seven mentioned attributes but cannot set or clear System attribute. Windows PowerShell, which has become a component of Windows 7 and later, features two commands that can read and write attributes: Get-ItemProperty and Set-ItemProperty.

To change an attribute on a file in Windows NT-based operating system, the changing user must have appropriate Filesystem permissions known as Write Attributes and Write Extended Attributes.

In 4.4BSD and 4.4BSD-Lite and derivatives, the chflags and ls commands can be used to change and display file attributes. To change a "user" attribute on a file in 4.4BSD-derived operating systems, the changing user must be the owner of the file or the superuser; to change a "system" attribute, the changing user must be the superuser.

In Linux, the chattr and lsattr commands can be used to change and display file attributes.

Read more about this topic:  File Attribute

Famous quotes containing the word editing:

    In this century the writer has carried on a conversation with madness. We might almost say of the twentieth-century writer that he aspires to madness. Some have made it, of course, and they hold special places in our regard. To a writer, madness is a final distillation of self, a final editing down. It’s the drowning out of false voices.
    Don Delillo (b. 1926)