Discuss this help topic in SecureBlackbox Forum

TElSftpFileAttributes.StickyBit

TElSftpFileAttributes     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


On directories, the sticky bit prevents users from deleting or renaming files that they do not own.

Declaration

[C#]
    bool StickyBit;

[VB.NET]
    Property StickyBit As Boolean

[Pascal]
    property StickyBit: boolean;

[C++]
    bool get_StickyBit();
    void set_StickyBit(bool Value);

[PHP]
    bool get_StickyBit()
    void set_StickyBit(bool $Value)

[Java]
    boolean getStickyBit();
    void setStickyBit(boolean Value);

Description

    Set this property on directory to True in order to allow files renaming and deleting their owners only. Set it to False to allow files renaming and deleting to all users.
    On some very old systems, the sticky bit was used to indicate that a file should be kept in memory after it is executed so it could be reused without reloading. That usage is now obsolete and the sticky bit is ignored on files.

See also:     Owner    

Discuss this help topic in SecureBlackbox Forum