Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrRootUIDAlreadyMapped is returned when there's already a mapping for the root user in a command ErrRootUIDAlreadyMapped = errors.New("fakeroot: root user has already been mapped in this command") // ErrRootGIDAlreadyMapped is returned when there's already a mapping for the root group in a command ErrRootGIDAlreadyMapped = errors.New("fakeroot: root group has already been mapped in this command") )
Functions ¶
func Apply ¶
Apply applies the options required to run in a fakeroot environment to a command. It returns an error if the root group or user already has a mapping registered in the command.
Types ¶
This section is empty.
Source Files
¶
- fakeroot.go
Click to show internal directories.
Click to hide internal directories.