- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 138 for umask (0.06 seconds)
-
cmd/xl-storage_unix_test.go
"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. func TestIsValidUmaskVol(t *testing.T) { tmpPath := t.TempDir() testCases := []struct { volName string expectedUmask int
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
cmd/os-reliable.go
// syscall.ENOENT (parent does not exist). func reliableMkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) { i := 0 for { // Creates all the parent directories, with mode 0777 mkdir honors system umask. if err = osMkdirAll(dirPath, mode, baseDir); err != nil { // Retry only for the first retryable error. if osIsNotExist(err) && i == 0 { i++ // Determine if os.NotExist error is because of
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 5.8K bytes - Click Count (0) -
cmd/os_unix.go
// Forked from Golang but chooses to avoid performing lookup // // osMkdirAll creates a directory named path, // along with any necessary parents, and returns nil, // or else returns an error. // The permission bits perm (before umask) are used for all // directories that MkdirAll creates. // If path is already a directory, MkdirAll does nothing // and returns nil. func osMkdirAll(dirPath string, perm os.FileMode, baseDir string) error { if baseDir != "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0) -
cmd/xl-storage.go
uuid := mustGetUUID() filePath := pathJoin(s.drivePath, minioMetaTmpDeletedBucket, ".writable-check-"+uuid+".tmp") // Create top level directories if they don't exist. // with mode 0o777 mkdir honors system umask. mkdirAll(pathutil.Dir(filePath), 0o777, s.drivePath) // don't need to fail here w, err := s.openFileDirect(filePath, os.O_CREATE|os.O_WRONLY|os.O_EXCL) if err != nil { return err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
lib/wasm/wasm_exec.js
globalThis.process = { getuid() { return -1; }, getgid() { return -1; }, geteuid() { return -1; }, getegid() { return -1; }, getgroups() { throw enosys(); }, pid: -1, ppid: -1, umask() { throw enosys(); }, cwd() { throw enosys(); }, chdir() { throw enosys(); }, } } if (!globalThis.path) { globalThis.path = { resolve(...pathSegments) { return pathSegments.join("/");Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Sun Dec 08 15:34:47 GMT 2024 - 16.6K bytes - Click Count (0) -
api/go1.2.txt
pkg syscall (freebsd-386-cgo), func TimevalToNsec(Timeval) int64 pkg syscall (freebsd-386-cgo), func Truncate(string, int64) error pkg syscall (freebsd-386-cgo), func Umask(int) int pkg syscall (freebsd-386-cgo), func Undelete(string) error pkg syscall (freebsd-386-cgo), func UnixRights(...int) []uint8 pkg syscall (freebsd-386-cgo), func Unmount(string, int) error
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Click Count (1) -
api/go1.txt
pkg syscall (darwin-386), func TimespecToNsec(Timespec) int64 pkg syscall (darwin-386), func TimevalToNsec(Timeval) int64 pkg syscall (darwin-386), func Truncate(string, int64) error pkg syscall (darwin-386), func Umask(int) int pkg syscall (darwin-386), func Undelete(string) error pkg syscall (darwin-386), func UnixRights(...int) []uint8 pkg syscall (darwin-386), func Unmount(string, int) error
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), func TimevalToNsec(Timeval) int64 pkg syscall (netbsd-arm64-cgo), func Truncate(string, int64) error pkg syscall (netbsd-arm64-cgo), func Umask(int) int pkg syscall (netbsd-arm64-cgo), func UnixRights(...int) []uint8 pkg syscall (netbsd-arm64-cgo), func Unmount(string, int) error pkg syscall (netbsd-arm64-cgo), func Wait4(int, *WaitStatus, int, *Rusage) (int, error)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.28.md
- `kubelet` will ensure /etc/hosts file is mode 0644 regardless of umask. ([#113209](https://github.com/kubernetes/kubernetes/pull/113209), [@luozhiwenn](https://github.com/luozhiwenn))
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Fri Sep 05 03:47:18 GMT 2025 - 456.9K bytes - Click Count (1) -
internal/pubsub/mask.go
"math" "math/bits" ) // Mask allows filtering by a bitset mask. type Mask uint64 const ( // MaskAll is the mask for all entries. MaskAll Mask = math.MaxUint64 ) // MaskFromMaskable extracts mask from an interface. func MaskFromMaskable(m Maskable) Mask { return Mask(m.Mask()) } // Contains returns whether *all* flags in other is present in t. func (t Mask) Contains(other Mask) bool { return t&other == other
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 05 21:45:49 GMT 2022 - 1.3K bytes - Click Count (0)