Documentation
¶
Overview ¶
Package privatefs creates and checks files and directories only the current user may use: mode 0600/0700 and owned by the user on Unix, a protected current-user DACL on Windows.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MkdirAll ¶
MkdirAll creates path and its missing parents with mode 0700 and checks that path itself is private.
func PrivateFile ¶
PrivateFile reports whether info describes a regular file owned by the current user with no group or other permissions.
func ProtectDirectory ¶
ProtectDirectory checks that path is a directory owned by the current user with no group or other permissions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.