PrimoBurner(tm) for C++  4.6
CD, DVD and Blu-ray Software Development Kit
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
primo::burner::UdfPermissions Namespace Reference

Defines UDF access permission constants. More...

Enumerations

enum  Enum {
  Other_Exec = 0x0001,
  Other_Write = 0x0002,
  Other_Read = 0x0004,
  Other_ChAttr = 0x0008,
  Other_Delete = 0x0010,
  Group_Exec = 0x0020,
  Group_Write = 0x0040,
  Group_Read = 0x0080,
  Group_ChAttr = 0x0100,
  Group_Delete = 0x0200,
  Owner_Exec = 0x0400,
  Owner_Write = 0x0800,
  Owner_Read = 0x1000,
  Owner_ChAttr = 0x2000,
  Owner_Delete = 0x4000,
  ReadFile = Owner_Read | Group_Read | Other_Read,
  ReadDir = Owner_Read | Group_Read | Other_Read | Owner_Exec | Group_Exec | Other_Exec,
  All = 0x7FFF
}
 UdfPermissions::Enum. More...
 

Detailed Description

Defines UDF access permission constants.

    <table>
    <tr>
    <th>Permission</th>             <th>for a File</th>                                     <th>for a Directory</th>
    </tr>
    <tr>
    <td>Execute</td>                <td>May execute file</td>                       <td>May search directory</td>
    </tr>
    <tr>
    <td>Write</td>                  <td>May change file contents</td>       <td>May create and delete files</td>
    </tr>
    <tr>
    <td>Read</td>                   <td>May examine file contents</td>      <td>May list files in directory</td>
    </tr>
    <tr>
    <td>ChAttr</td>                 <td>May change file attributes</td>     <td>May change dir attributes</td>
    </tr>
    <tr>
    <td>Delete</td>                 <td>May delete file</td>                        <td>May delete directory</td>
    </tr>
    </table>

Each file/dir permission can be defined separately for: Owner (the user who owns the file/dir), Group (the primary group of the owner) and Other (all other users).

Remarks
The Write, Change Attribute and Delete permissions, are not allowed on DVD Read-Only media.

Enumeration Type Documentation

enum Enum

UdfPermissions::Enum.

Enumerator
Other_Exec 

= 0x0001

Other_Write 

= 0x0002

Other_Read 

= 0x0004

Other_ChAttr 

= 0x0008

Other_Delete 

= 0x0010

Group_Exec 

= 0x0020

Group_Write 

= 0x0040

Group_Read 

= 0x0080

Group_ChAttr 

= 0x0100

Group_Delete 

= 0x0200

Owner_Exec 

= 0x0400

Owner_Write 

= 0x0800

Owner_Read 

= 0x1000

Owner_ChAttr 

= 0x2000

Owner_Delete 

= 0x4000

ReadFile 

= Owner_Read | Group_Read | Other_Read

ReadDir 

= Owner_Read | Group_Read | Other_Read | Owner_Exec | Group_Exec | Other_Exec

All 

= 0x7FFF