*** Welcome to piglix ***

File attribute


File attributes are metadata associated with computer files that define file system behavior. Each attribute can have one of two states: set and cleared. Attributes are considered distinct from other metadata, such as dates and times, filename extensions or file system permissions. In addition to files, folders, volumes and other file system objects may have attributes.

Traditionally, in MS-DOS and Microsoft Windows, there were four attributes: archive, hidden, read-only and system. Windows has added new ones. Systems derived from 4.4BSD-Lite, such as FreeBSD, NetBSD, OpenBSD, DragonFly BSD, and macOS, have sets of "system" and "user" attributes; newer versions of the Linux kernel also support a set of file attributes.

Traditionally, in DOS and Microsoft Windows, files and folders accepted four attributes:

As new versions of Windows came out, Microsoft has added to the inventory of available attributes on the NTFS file system, including but not limited to:

In 4.4BSD and 4.4BSD-Lite, files and directories (folders) accepted four attributes that could be set by the owner of the file or the superuser (the "User" attributes) and two attributes that could only be set by the superuser (the "System" attributes):

FreeBSD added some additional attributes, also supported by DragonFly BSD:


...
Wikipedia

...