- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 161 for Umask (0.37 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 Apr 21 19:28:08 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++ continue } } break }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed Sep 13 15:14:36 GMT 2023 - 5.4K 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 Apr 21 19:28:08 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 Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Apr 19 11:26:59 GMT 2024 - 82.4K bytes - Viewed (0) -
misc/wasm/wasm_exec.js
JavaScript - Registered: Tue Apr 23 11:13:09 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 Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0) -
api/go1.2.txt
pkg syscall (openbsd-386), const RTF_DYNAMIC ideal-int pkg syscall (openbsd-386), const RTF_FMASK ideal-int pkg syscall (openbsd-386), const RTF_GATEWAY ideal-int pkg syscall (openbsd-386), const RTF_HOST ideal-int pkg syscall (openbsd-386), const RTF_LLINFO ideal-int pkg syscall (openbsd-386), const RTF_MASK ideal-int pkg syscall (openbsd-386), const RTF_MODIFIED ideal-int
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2) -
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 Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Jul 05 21:45:49 GMT 2022 - 1.3K bytes - Viewed (0) -
api/go1.txt
pkg syscall (darwin-386), const SYS_THREAD_SELFID ideal-int pkg syscall (darwin-386), const SYS_TRUNCATE ideal-int pkg syscall (darwin-386), const SYS_UMASK ideal-int pkg syscall (darwin-386), const SYS_UMASK_EXTENDED ideal-int pkg syscall (darwin-386), const SYS_UNDELETE ideal-int pkg syscall (darwin-386), const SYS_UNLINK ideal-int pkg syscall (darwin-386), const SYS_UNMOUNT ideal-int
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const IPV6_FAITH ideal-int pkg syscall (netbsd-arm64-cgo), const IPV6_FLOWINFO_MASK = 4294967055 pkg syscall (netbsd-arm64-cgo), const IPV6_FLOWINFO_MASK ideal-int pkg syscall (netbsd-arm64-cgo), const IPV6_FLOWLABEL_MASK = 4294905600 pkg syscall (netbsd-arm64-cgo), const IPV6_FLOWLABEL_MASK ideal-int pkg syscall (netbsd-arm64-cgo), const IPV6_FRAGTTL = 120
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0)