Home | History | Annotate | Download | only in ssh2

Lines Matching refs:permissions

33 	 * The POSIX permissions. <code>NULL</code> if not present.
51 * S_IRWXU 00700 mask for file owner permissions
55 * S_IRWXG 00070 mask for group permissions
59 * S_IRWXO 00007 mask for permissions for others (not in group)
65 public Integer permissions = null;
82 * @return Returns true if permissions are available and they indicate
87 if (permissions == null)
90 return ((permissions.intValue() & 0040000) == 0040000);
96 * @return Returns true if permissions are available and they indicate
101 if (permissions == null)
104 return ((permissions.intValue() & 0100000) == 0100000);
110 * @return Returns true if permissions are available and they indicate
115 if (permissions == null)
118 return ((permissions.intValue() & 0120000) == 0120000);
122 * Turn the POSIX permissions into a 7 digit octal representation.
125 * @return <code>NULL</code> if permissions are not available.
129 if (permissions == null)
132 String res = Integer.toString(permissions.intValue() & 0177777, 8);