- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for Umask (0.35 sec)
-
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
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jul 25 19:37:26 GMT 2022 - 3.4K bytes - Viewed (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
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 5.8K bytes - Viewed (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 != "" {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.3K bytes - Viewed (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 }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 84.7K bytes - Viewed (0) -
misc/wasm/wasm_exec.js
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 17:47:47 GMT 2023 - 16.3K bytes - Viewed (1) -
api/go1.16.txt
pkg syscall (darwin-arm64), const SYS_TRUNCATE = 200 pkg syscall (darwin-arm64), const SYS_TRUNCATE ideal-int pkg syscall (darwin-arm64), const SYS_UMASK = 60 pkg syscall (darwin-arm64), const SYS_UMASK ideal-int pkg syscall (darwin-arm64), const SYS_UMASK_EXTENDED = 278 pkg syscall (darwin-arm64), const SYS_UMASK_EXTENDED ideal-int pkg syscall (darwin-arm64), const SYS_UNDELETE = 205 pkg syscall (darwin-arm64), const SYS_UNDELETE ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0) -
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
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jul 05 21:45:49 GMT 2022 - 1.3K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (freebsd-386), const BPF_T_FAST ideal-int pkg syscall (freebsd-386), const BPF_T_FLAG_MASK = 768 pkg syscall (freebsd-386), const BPF_T_FLAG_MASK ideal-int pkg syscall (freebsd-386), const BPF_T_FORMAT_MASK = 3 pkg syscall (freebsd-386), const BPF_T_FORMAT_MASK ideal-int pkg syscall (freebsd-386), const BPF_T_MICROTIME = 0 pkg syscall (freebsd-386), const BPF_T_MICROTIME ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (1) -
api/go1.14.txt
pkg syscall (freebsd-arm64), const BPF_T_FAST ideal-int pkg syscall (freebsd-arm64), const BPF_T_FLAG_MASK = 768 pkg syscall (freebsd-arm64), const BPF_T_FLAG_MASK ideal-int pkg syscall (freebsd-arm64), const BPF_T_FORMAT_MASK = 3 pkg syscall (freebsd-arm64), const BPF_T_FORMAT_MASK ideal-int pkg syscall (freebsd-arm64), const BPF_T_MICROTIME = 0 pkg syscall (freebsd-arm64), const BPF_T_MICROTIME ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0) -
api/go1.20.txt
pkg syscall (freebsd-riscv64), const BPF_T_FAST ideal-int #53466 pkg syscall (freebsd-riscv64), const BPF_T_FLAG_MASK = 768 #53466 pkg syscall (freebsd-riscv64), const BPF_T_FLAG_MASK ideal-int #53466 pkg syscall (freebsd-riscv64), const BPF_T_FORMAT_MASK = 3 #53466 pkg syscall (freebsd-riscv64), const BPF_T_FORMAT_MASK ideal-int #53466 pkg syscall (freebsd-riscv64), const BPF_T_MICROTIME = 0 #53466
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Viewed (0)