- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getUmask (0.15 sec)
-
cmd/xl-storage_unix_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "os" "path" "syscall" "testing" ) // Based on `man getumask` a vaporware GNU extension to glibc. // returns file mode creation mask. func getUmask() int { mask := syscall.Umask(0) syscall.Umask(mask) return mask } // Tests if the directory and file creations happen with proper umask.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 3.4K bytes - Viewed (0)