Documentation
¶
Rendered for windows/amd64
Overview ¶
Package windowsfile creates exclusive Windows files and directories with private permissions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidName = errors.New("private file requires a local filename") ErrOwner = errors.New("cannot inspect private file owner") ErrPermissions = errors.New("cannot prepare private file permissions") )
Callers translate these setup failures into their own diagnostics.
Functions ¶
func CreatePrivate ¶
CreatePrivate creates one leaf in root, without replacing an existing file. The protected DACL grants full access to the current user, SYSTEM, and Administrators. Set it at creation: later changes cannot revoke access through existing handles.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.