- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 116 for 0o700 (0.06 sec)
-
pkg/istio-agent/agent.go
// this interfere with envoy, we should be able to use both envoy for TCP/HTTP and proxyless. node.Metadata.Generator = "grpc" if err := os.MkdirAll(filepath.Dir(a.cfg.GRPCBootstrapPath), 0o700); err != nil { return err } _, err = grpcxds.GenerateBootstrapFile(grpcxds.GenerateBootstrapOptions{ Node: node, XdsUdsPath: a.cfg.XdsUdsPath,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 26.7K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys_test.go
t.Errorf("name of file #%v in walk, got %q, want %q", i, got[i].name, tc.wantFiles[i].name) } if got[i].mode&(fs.ModeDir|0700) != tc.wantFiles[i].mode { t.Errorf("mode&(fs.ModeDir|0700) for mode of file #%v in walk, got %v, want %v", i, got[i].mode&(fs.ModeDir|0700), tc.wantFiles[i].mode) } if got[i].isDir != tc.wantFiles[i].isDir {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:52:11 UTC 2023 - 29.1K bytes - Viewed (0) -
pkg/file/file_test.go
if err := os.WriteFile(filepath.Join(d, "in"), []byte("hello world"), 0o750); err != nil { t.Fatal(err) } if err := copyFn(filepath.Join(d, "in"), d, "out"); err != nil { t.Fatal(err) } f, err := os.Open(filepath.Join(d, "out")) if err != nil { t.Fatal(err) } m, _ := f.Stat() // Mode should be copied assert.Equal(t, m.Mode(), 0o750) body, _ := io.ReadAll(f) // Contents should be copied
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 11 19:10:54 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/lock/lock_test.go
if err != nil { t.Fatal(err) } }() _, err = LockedOpenFile(f.Name(), os.O_APPEND, 0o600) if err == nil { t.Fatal("Should fail here") } } // Tests lock directory fail. func TestLockDirFail(t *testing.T) { d := t.TempDir() _, err := LockedOpenFile(d, os.O_APPEND, 0o600) if err == nil { t.Fatal("Should fail here") } } // Tests rwlock methods.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PosixFilePermissionConverterTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 3.1K bytes - Viewed (0) -
src/time/export_test.go
stdISO8601ColonTZ: "Z07:00", stdISO8601ColonSecondsTZ: "Z07:00:00", stdNumTZ: "-0700", stdNumSecondsTz: "-070000", stdNumShortTZ: "-07", stdNumColonTZ: "-07:00", stdNumColonSecondsTZ: "-07:00:00", stdFracSecond0 | 1<<stdArgShift: ".0", stdFracSecond0 | 2<<stdArgShift: ".00",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 19:23:32 UTC 2022 - 4K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/umask_none.go
// license that can be found in the LICENSE file. //go:build !(darwin || freebsd || linux || netbsd || openbsd) package toolchain import "io/fs" func sysWriteBits() fs.FileMode { return 0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 20 15:44:08 UTC 2023 - 307 bytes - Viewed (0) -
src/os/fifo_test.go
name := filepath.Join(dir, strconv.Itoa(i)) if err := syscall.Mkfifo(name, 0o600); err != nil { t.Fatal(err) } // The problem only occurs if we use O_NONBLOCK here. rd, err := os.OpenFile(name, os.O_RDONLY|syscall.O_NONBLOCK, 0o600) if err != nil { t.Fatal(err) } wr, err := os.OpenFile(name, os.O_WRONLY|syscall.O_NONBLOCK, 0o600) if err != nil { t.Fatal(err) } const msg = "message"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:47:23 UTC 2024 - 6.1K bytes - Viewed (0) -
src/os/exec/lp_unix_test.go
"os/exec" "testing" ) func TestLookPathUnixEmptyPath(t *testing.T) { // Not parallel: uses Chdir and Setenv. tmp := t.TempDir() chdir(t, tmp) f, err := os.OpenFile("exec_me", os.O_CREATE|os.O_EXCL, 0700) if err != nil { t.Fatal("OpenFile failed: ", err) } err = f.Close() if err != nil { t.Fatal("Close failed: ", err) } t.Setenv("PATH", "") path, err := exec.LookPath("exec_me")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:19:21 UTC 2023 - 762 bytes - Viewed (0) -
internal/store/queuestore.go
} } // Open - Creates the directory if not present. func (store *QueueStore[_]) Open() error { store.Lock() defer store.Unlock() if err := os.MkdirAll(store.directory, os.FileMode(0o770)); err != nil { return err } files, err := store.list() if err != nil { return err } // Truncate entries. if uint64(len(files)) > store.entryLimit { files = files[:store.entryLimit] }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 25 16:44:20 UTC 2024 - 7.1K bytes - Viewed (0)