comparison src/ch/ethz/ssh2/sftp/AclFlags.java @ 273:91a31873c42a ganymed

start conversion from trilead to ganymed
author Carl Byington <carl@five-ten-sg.com>
date Fri, 18 Jul 2014 11:21:46 -0700
parents
children
comparison
equal deleted inserted replaced
272:ce2f4e397703 273:91a31873c42a
1 package ch.ethz.ssh2.sftp;
2
3 /**
4 * @version $Id: AclFlags.java 151 2014-04-28 10:03:39Z dkocher@sudo.ch $
5 */
6 public final class AclFlags {
7
8 /**
9 * If INCLUDED is set during a setstat operation, then the client
10 * intends to modify the ALLOWED/DENIED entries of the ACL.
11 * Otherwise, the client intends for these entries to be
12 * preserved.
13 */
14 public static final int SFX_ACL_CONTROL_INCLUDED = 0x00000001;
15 /**
16 * If the PRESENT bit is not set, then the client wishes to remove
17 * control entries. If the server doesn't support separate
18 * control and audit information, the client MUST not clear this
19 * bit without also clearing the AUDIT_ALARM_PRESENT bit.
20 */
21 public static final int SFX_ACL_CONTROL_PRESENT = 0x00000002;
22 /**
23 * If INHERITED is set, then ALLOW/DENY ACEs MAY be inherited from
24 * the parent directory. If it is off, then they MUST not be
25 * INHERITED. If the server does not support controlling
26 * inheritance, then the client MUST clear this bit; in this case
27 * the inheritance properties of the server are undefined.
28 */
29 public static final int SFX_ACL_CONTROL_INHERITED = 0x00000004;
30 /**
31 * If INCLUDE is set during a setstat operation, then the client
32 * intends to modify the AUDIT/ALARM entries of the ACL.
33 * Otherwise, the client intends for these entries to be
34 * preserved.
35 */
36 public static final int SFX_ACL_AUDIT_ALARM_INCLUDED = 0x00000010;
37 /**
38 * If INHERITED is set, then AUDIT/ALARM ACEs MAY be inherited
39 * from the parent directory. If it is off, then they MUST not be
40 * INHERITED. If the server does not support controlling
41 * inheritance, then the client MUST clear this bit; in this case
42 * the inheritance properties of the server are undefined.
43 */
44 public static final int SFX_ACL_AUDIT_ALARM_INHERITED = 0x00000020;
45 }