05.07.2014 Views

here - OSTA - Optical Storage Technology Association

here - OSTA - Optical Storage Technology Association

here - OSTA - Optical Storage Technology Association

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

would be considered writable if the logical OR of OWNER_Write,<br />

GROUP_Write and OTHER_Write was equal to one.<br />

When setting a specific permission the implementation should set all three<br />

(owner, group, other) sets of permission bits. For example to mark a file<br />

as writable the OWNER_Write, GROUP_Write and OTHER_Write<br />

should all be set to one.<br />

Default Permission Values<br />

For the operating systems covered by this document the following table describes<br />

what default values should be used for permission bits that do not directly map to<br />

an operating system supported permission bit when creating a new file.<br />

Permissio<br />

n<br />

File/Director<br />

y<br />

Description DOS OS/2 Win<br />

95<br />

Win<br />

NT<br />

Mac<br />

OS<br />

UNIX &<br />

OS/400<br />

Read file The file may be read 1 1 1 1 1 U<br />

Read directory The directory may be read, only if the<br />

1 1 1 1 1 U<br />

directory is also marked as Execute.<br />

Write file The file’s contents may be modified U U U U U U<br />

Write directory Files or subdirectories may be renamed, U U U U U U<br />

added, or deleted, only if the directory is also<br />

marked as Execute.<br />

Execute file The file may be executed. 0 0 0 0 0 U<br />

Execute directory The directory may be searched for a specific 1 1 1 1 1 U<br />

file or subdirectory.<br />

Attribute file The file’s permissions may be changed. 1 1 1 1 1 Note 1<br />

Attribute directory The directory’s permissions may be changed. 1 1 1 1 1 Note 1<br />

Delete file The file may be deleted. Note 2 Note 2 Note Note 2 Note 2 Note 2<br />

2<br />

Delete directory The directory may be deleted. Note 2 Note 2 Note Note 2 Note 2 Note 2<br />

2<br />

U - User Specified, 1 - Set, 0 - Clear<br />

NOTE 1: Under UNIX only the owner of a file/directory may change its<br />

attributes. Under OS/400 if a file or directory is marked as writable (Write<br />

permission set) then the Attribute permission bit should be set.<br />

NOTE 2: The Delete permission bit should be set based upon the status of the<br />

Write permission bit. Under DOS, OS/2 and Macintosh, if a file or directory is<br />

marked as writable (Write permission set) then the file is considered deletable and<br />

the Delete permission bit should be set. If a file is read only then the Delete<br />

permission bit should not be set. This applies to file create as well as changing<br />

attributes of a file.<br />

Processing Permissions<br />

Implementation shall process the permission bits according to the following table<br />

that describes how to process the permission bits under the operating systems<br />

covered by this document. The table addresses the issues associated with<br />

permission bits that do not directly map to an operating system supported<br />

permission bit.<br />

UDF 2.01<br />

73<br />

March50 April

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!