view src/ch/ethz/ssh2/sftp/AclFlags.java @ 365:145ec135804f

remove synchronized from close methods, since they may be called indirectly from connect()
author Carl Byington <carl@five-ten-sg.com>
date Mon, 04 Aug 2014 09:41:22 -0700
parents 91a31873c42a
children
line wrap: on
line source

package ch.ethz.ssh2.sftp;

/**
 * @version $Id: AclFlags.java 151 2014-04-28 10:03:39Z dkocher@sudo.ch $
 */
public final class AclFlags {

    /**
     * If INCLUDED is set during a setstat operation, then the client
     * intends to modify the ALLOWED/DENIED entries of the ACL.
     * Otherwise, the client intends for these entries to be
     * preserved.
     */
    public static final int SFX_ACL_CONTROL_INCLUDED = 0x00000001;
    /**
     * If the PRESENT bit is not set, then the client wishes to remove
     * control entries.  If the server doesn't support separate
     * control and audit information, the client MUST not clear this
     * bit without also clearing the AUDIT_ALARM_PRESENT bit.
     */
    public static final int SFX_ACL_CONTROL_PRESENT = 0x00000002;
    /**
     * If INHERITED is set, then ALLOW/DENY ACEs MAY be inherited from
     * the parent directory.  If it is off, then they MUST not be
     * INHERITED.  If the server does not support controlling
     * inheritance, then the client MUST clear this bit; in this case
     * the inheritance properties of the server are undefined.
     */
    public static final int SFX_ACL_CONTROL_INHERITED = 0x00000004;
    /**
     * If INCLUDE is set during a setstat operation, then the client
     * intends to modify the AUDIT/ALARM entries of the ACL.
     * Otherwise, the client intends for these entries to be
     * preserved.
     */
    public static final int SFX_ACL_AUDIT_ALARM_INCLUDED = 0x00000010;
    /**
     * If INHERITED is set, then AUDIT/ALARM ACEs MAY be inherited
     * from the parent directory.  If it is off, then they MUST not be
     * INHERITED.  If the server does not support controlling
     * inheritance, then the client MUST clear this bit; in this case
     * the inheritance properties of the server are undefined.
     */
    public static final int SFX_ACL_AUDIT_ALARM_INHERITED = 0x00000020;
}