The characteristics of a directory or file. In NetWare, these characteristics are called flags.
NDS objects do not have attributes.
Attributes dictate what can be done with a file or directory. For example, you can set a file to be a Read Only (Ro) file.
While the term attributes is used predominately for DOS and OS/2* files, NetWare offers additional attributes, and then applies them to both files and directories.
Table 1. File Attributes
| Attribute | Description |
|---|---|
Archive Needed (A) |
A status flag set by NetWare.Indicates that the file has been changed since the last time it was backed up. NetWare sets this attribute when a file is modified. Backup programs usually clear this attribute after backing up the file. |
Can't Compress (Cc) |
A status flag set by NetWare. Indicates that the file can't be compressed because of insignificant space savings. This attribute is shown on attribute lists, but can't be set by the user. |
Compressed (Co) |
A status flag set by NetWare. Indicates that the file is compressed. This attribute is shown on attribute lists, but can't be set by the user. |
Copy Inhibit (Ci) |
Only valid on Macintosh workstations. Prevents users from copying the file. |
Delete Inhibit (Di) |
Prevents any user from erasing the file. |
Don't Compress (Dc) |
Marks the file so that it is never compressed. |
Don't Migrate (Dm) |
Marks the file so that it is never migrated to a secondary storage device (such as a tape drive or optical disc). |
Don't Suballocate (Ds) |
Prevents an individual file from being suballocated, even if suballocation is enabled for the system. Use for files that are enlarged or appended frequently, such as certain data base files. |
Execute Only (X) |
Prevents a file from being copied. Only the Supervisor can set this file attribute; it cannot be cleared. It should be set only if you have a second copy of the file. Backup utilities don't back up a file marked Execute Only, and some program files with this attribute set don't execute properly. |
Hidden (H) |
Hides the file from the DOS or OS/2 DIR command and prevents it from being deleted or copied. However, the NetWare NDIR command shows the file if the user has the File Scan right. (See also Rights.) |
Immediate Compress (Ic) |
Marks the file so that it is compressed on disk as soon as the operating system can do so, without waiting for a specific event to initiate compression (such as a time delay). |
Migrated (M) |
A status flag set by NetWare. Indicates that the file is migrated. This attribute is shown on attribute lists, but can't be set by the user. |
Normal (N) |
No file attributes are set. |
Purge (P) |
Tells NetWare to purge the file when it is deleted. The file can't be salvaged with the FILER utility. |
Read Only (Ro) |
Indicates that no one can write to this file. When Read Only is set or cleared, NetWare also sets or clears the Delete Inhibit and Rename Inhibit attributes. Consequently, a user can't write to, erase, or rename a file when Read Only is set. A user with the Modify right can remove the Delete Inhibit and Rename Inhibit attributes without removing Read Only. Then the file can be deleted or renamed, but not written to. (See also Rights.) NetWare shows Read Write (Rw) if Read Only isn't set. |
Read Write (Rw) |
Allows users to change the content of the file. Assigned by default when Read Only is not set. |
Rename Inhibit (R) |
Prevents a user from renaming a file. |
Shareable (Sh) |
Allows the file to be accessed by more than one user at a time. Usually used in combination with the Read Only attribute. |
System (Sy) |
A DOS and OS/2 attribute. Marks a file used only by an operating system. The file is hidden from the DOS or OS/2 DIR command and can't be deleted, renamed, or copied. However, the NetWare NDIR command shows the file if the user has the File Scan right. (See also Rights.) |
Transactional (T) |
Indicates that the file is protected by Transaction Tracking System (TTS). TTSTM prevents data corruption by ensuring that either all changes are made or no changes are made when a file is being modified. Set this attribute for all database files you want protected by TTS. (See also Transaction Tracking System.) |
Set or clear attributes with the FLAG command line utility, the FILER menu utility, or the NetWare Administrator graphical utility.
Related utilities: FILER, FLAG, NETADMIN, and NetWare Administrator in Utilities Reference.