Documentation ¶
Index ¶
- func FileGIDEqual(info fs.FileInfo, gid int) bool
- func FilePermissionsMatch(info fs.FileInfo, path string, permissions int) error
- func FileUIDEqual(info fs.FileInfo, uid int) bool
- func FileUidMatch(info fs.FileInfo, path string, uid int) (err error)
- func IsWriteGroup(mode os.FileMode) bool
- func IsWriteOther(mode os.FileMode) bool
- func OwnerPermissionsMatch(path string, uid int, permissions int) error
- func Umask(newmask int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilePermissionsMatch ¶
func IsWriteGroup ¶
func IsWriteOther ¶
func OwnerPermissionsMatch ¶
OwnerPermissionsMatch checks if vault user is the owner and permissions are secure for input path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.