- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 116 for 0o700 (0.05 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonRegistryStateProbe.groovy
def stat = NativeServicesTestFixture.instance.get(Stat) assert stat.getUnixMode(registryFile) == 0600 // user read-write assert stat.getUnixMode(registryFile.parentFile) == 0700 // user read-write-execute } } @Override State getCurrentState() { def daemonInfo = registry.all.find { it.context.pid == context.pid } if (daemonInfo == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/kubelet/cm/cgroup_manager_linux.go
return fmt.Errorf("failed to write %v to %v: %v", cpuQuotaStr, cgroupPath, err) } } if resourceConfig.CPUPeriod != nil { cpuPeriodStr = strconv.FormatUint(*resourceConfig.CPUPeriod, 10) if err := os.WriteFile(filepath.Join(cgroupPath, "cpu.cfs_period_us"), []byte(cpuPeriodStr), 0700); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 26.5K bytes - Viewed (0) -
pilot/pkg/config/monitor/file_snapshot_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3.7K bytes - Viewed (0) -
src/time/format_test.go
// comma "," separator. {"", "2006-01-02 15:04:05,9999 -0700 MST", "2010-02-04 21:00:57 -0800 PST", true, false, 1, 0}, {"", "2006-01-02 15:04:05,999999999 -0700 MST", "2010-02-04 21:00:57 -0800 PST", true, false, 1, 0}, {"", "2006-01-02 15:04:05,9999 -0700 MST", "2010-02-04 21:00:57.0123 -0800 PST", true, false, 1, 4}, {"", "2006-01-02 15:04:05,999999999 -0700 MST", "2010-02-04 21:00:57.0123 -0800 PST", true, false, 1, 4},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
pkg/file/file.go
// permissions error). _, err := os.Stat(name) return !errors.Is(err, fs.ErrNotExist) } const ( // PrivateFileMode grants owner to read/write a file. PrivateFileMode = 0o600 ) // DirEquals check if two directories are referring to the same directory func DirEquals(a, b string) (bool, error) { aa, err := filepath.Abs(a) if err != nil { return false, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 11 21:42:29 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileBackedObjectHolder.java
} private void serialize(T newValue) { try { if (!cacheFile.isFile()) { cacheFile.createNewFile(); } chmod.chmod(cacheFile.getParentFile(), 0700); // read-write-execute for user only chmod.chmod(cacheFile, 0600); // read-write for user only
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 4.7K bytes - Viewed (0) -
src/os/example_test.go
var mkdirOnce sync.Once putCache := func(name string, b []byte) error { if dirErr != nil { return &os.PathError{Op: "putCache", Path: name, Err: dirErr} } mkdirOnce.Do(func() { if err := os.MkdirAll(dir, 0700); err != nil { log.Printf("can't create user cache dir: %v", err) } }) return os.WriteFile(filepath.Join(dir, name), b, 0600) } // Read and store cached data. // … _ = getCache
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 17:35:49 UTC 2024 - 8.4K bytes - Viewed (0) -
tools/docker-builder/builder/tar.go
return err } } return nil }); err != nil { return err } return nil } func IsExecOwner(mode os.FileMode) bool { return mode&0o100 != 0
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 29 17:01:46 UTC 2022 - 3.7K bytes - Viewed (0) -
src/io/fs/walk_test.go
t.Fatal(err) } } bad := filepath.Join(dir, "a", "bad") if err := os.Chmod(bad, 0); err != nil { t.Fatal(err) } defer os.Chmod(bad, 0700) // avoid errors on cleanup var saw []string err := WalkDir(os.DirFS(dir), ".", func(path string, d DirEntry, err error) error { if err != nil { return filepath.SkipDir } if d.IsDir() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 15:21:18 UTC 2022 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/token/tokenfile/tokenfile_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 22 17:16:59 UTC 2018 - 3.6K bytes - Viewed (0)