reindent-20030715
[openafs.git] / src / libacl / prs_fs.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 /*
11         Information Technology Center
12         Carnegie-Mellon University
13 */
14
15
16 #ifndef _PRSFS_
17 #define _PRSFS_
18
19 /*
20 An access list is associated with each directory.  Possession of each of the following rights allows
21 the possessor the corresponding privileges on ALL files in that directory
22 */
23 #define PRSFS_READ            1 /*Read files */
24 #define PRSFS_WRITE           2 /*Write and write-lock existing files */
25 #define PRSFS_INSERT          4 /*Insert and write-lock new files */
26 #define PRSFS_LOOKUP          8 /*Enumerate files and examine access list */
27 #define PRSFS_DELETE          16        /*Remove files */
28 #define PRSFS_LOCK            32        /*Read-lock files */
29 #define PRSFS_ADMINISTER      64        /*Set access list of directory */
30
31 /* user space rights */
32 #define PRSFS_USR0            0x01000000
33 #define PRSFS_USR1            0x02000000
34 #define PRSFS_USR2            0x04000000
35 #define PRSFS_USR3            0x08000000
36 #define PRSFS_USR4            0x10000000
37 #define PRSFS_USR5            0x20000000
38 #define PRSFS_USR6            0x40000000
39 #define PRSFS_USR7            0x80000000
40 #endif