com.trilead.ssh2.sftp

Class AttribPermissions


public class AttribPermissions
extends java.lang.Object

Permissions for the 'permissions' field in the SFTP ATTRS data type.

"The 'permissions' field contains a bit mask specifying file permissions. These permissions correspond to the st_mode field of the stat structure defined by POSIX [IEEE.1003-1.1996]."

Field Summary

static int
S_IRGRP
static int
S_IROTH
static int
S_IRUSR
static int
S_ISGID
static int
S_ISUID
static int
S_ISVTX
static int
S_IWGRP
static int
S_IWOTH
static int
S_IWUSR
static int
S_IXGRP
static int
S_IXOTH
static int
S_IXUSR

Field Details

S_IRGRP

public static final int S_IRGRP
Field Value:
32

S_IROTH

public static final int S_IROTH
Field Value:
4

S_IRUSR

public static final int S_IRUSR
Field Value:
256

S_ISGID

public static final int S_ISGID
Field Value:
1024

S_ISUID

public static final int S_ISUID
Field Value:
2048

S_ISVTX

public static final int S_ISVTX
Field Value:
512

S_IWGRP

public static final int S_IWGRP
Field Value:
16

S_IWOTH

public static final int S_IWOTH
Field Value:
2

S_IWUSR

public static final int S_IWUSR
Field Value:
128

S_IXGRP

public static final int S_IXGRP
Field Value:
8

S_IXOTH

public static final int S_IXOTH
Field Value:
1

S_IXUSR

public static final int S_IXUSR
Field Value:
64