Unit

ScSFTPUtils

 

type

 TScSFTPFilePermission = (pR_USR, pW_USR, pX_USR, pR_GRP, pW_GRP, pX_GRP, pR_OTH, pW_OTH, pX_OTH, pS_UID, pS_GID, pS_VTX);

 TScSFTPFilePermissions = set of TScSFTPFilePermission;

 

Description

The TScSFTPFilePermission enumeration represents flags specifying file permissions. These permissions correspond to the st_mode field of the stat structure defined by POSIX [IEEE.1003-1.1996].

 

ValueMeaning
pR_USRspecifies the owner's read access right for the file.
pW_USRspecifies the owner's write access right for the file.
pX_USRspecifies the owner's execute access right for the file.
pR_GRPspecifies the group read access right for a file.
pW_GRPspecifies the group write access right for a file.
pX_GRPspecifies the group execute access right for a file.
pR_OTHspecifies the read access right for a file for the user who is not its owner and doesn't belong to the same group as the file.
pW_OTHspecifies the write access right for a file for the user who is not its owner and doesn't belong to the same group as the file.
pX_OTHspecifies the execute access right for a file for the user who is not its owner and doesn't belong to the same group as the file.
pS_UIDspecifies if the file will be executed with the rights of its owner.
pS_GIDspecifies if the file will be executed with the rights of the group.
pS_VTXset this flag on directory in order to allow files renaming and deleting to their owners only. Usage is now obsolete and the sticky bit is ignored on files.

 

See Also

TScSFTPFileAttributes.Permissions

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support