diff options
Diffstat (limited to 'pkg/p9/p9.go')
-rw-r--r-- | pkg/p9/p9.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/p9/p9.go b/pkg/p9/p9.go index 2737fe7ed..4ea9f2f9a 100644 --- a/pkg/p9/p9.go +++ b/pkg/p9/p9.go @@ -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 ) |