Add p9.Sticky.

PiperOrigin-RevId: 234691125
Change-Id: I2a588153ded5a4fbed07bc2f0937a43ccfba791b
This commit is contained in:
Jamie Liu
2019-02-19 15:53:46 -08:00
committed by Shentubot
parent bed6f8534b
commit 2840f7c1b1
+4 -1
View File
@@ -139,8 +139,11 @@ const (
// AllPermissions is a mask with rwx bits set for user, group and others.
AllPermissions FileMode = 0777
// Sticky is a mode bit indicating sticky directories.
Sticky FileMode = 01000
// permissionsMask is the mask to apply to FileModes for permissions. It
// includes rwx bits for user, group and others, and sticky bit (01000).
// includes rwx bits for user, group and others, and sticky bit.
permissionsMask FileMode = 01777
)