Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegularFilePerms ¶
RegularFilePerms() takes an octal string representation and returns a FileMode permission.
If the string can not be parsed into a 32 bit unsigned octal, or if the passed string is not for a regular file then an error is returned, and the default regularSecure file mode is returned.
This functions ensures that it never returns a world writable permission and that the owner always has read/write permissions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.