2.13 File attributes

The following attributes are supported by Hollywood for file system objects, i.e. files and directories:

HWOS_FILEATTR_READ:
Read access is granted (user scope). This is unsupported on Win32.

HWOS_FILEATTR_WRITE:
Write access is granted (user scope). This is unsupported on Win32.

HWOS_FILEATTR_DELETE:
Delete access is granted. This is only supported on AmigaOS and compatibles.

HWOS_FILEATTR_EXECUTE:
Execute access is granted (user scope). This is unsupported on Win32.

HWOS_FILEATTR_PURE:
File can be made resident. This is only supported on AmigaOS and compatibles.

HWOS_FILEATTR_ARCHIVE:
Archive bit. This is supported on AmigaOS and Win32.

HWOS_FILEATTR_SCRIPT:
File is an AmigaDOS script. This is only supported on AmigaOS and compatibles.

HWOS_FILEATTR_HIDDEN:
File is hidden. This is supported on AmigaOS and Win32.

HWOS_FILEATTR_SYSTEM:
User for system files on Win32.

HWOS_FILEATTR_READG:
Read access is granted (group scope). This is unsupported on Win32 and AmigaOS.

HWOS_FILEATTR_WRITEG:
Write access is granted (group scope). This is unsupported on Win32 and AmigaOS.

HWOS_FILEATTR_EXECUTEG:
Execute access is granted (group scope). This is unsupported on Win32 and AmigaOS.

HWOS_FILEATTR_READO:
Read access is granted (others scope). This is unsupported on Win32 and AmigaOS.

HWOS_FILEATTR_WRITEO:
Write access is granted (others scope). This is unsupported on Win32 and AmigaOS.

HWOS_FILEATTR_EXECUTEO:
Execute access is granted (others scope). This is unsupported on Win32 and AmigaOS.

HWOS_FILEATTR_READONLY:
Only read-access is allowed for this file. Supported on Win32 only.

You'll have to deal with these attributes if you write a file or directory adapter.

See Stat for details.

See NextDirEntry for details.


Show TOC