- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 272 for 0777 (0.03 sec)
-
src/os/path_test.go
t.Parallel() tmpDir := TempDir() path := tmpDir + "/_TestMkdirAll_/dir/./dir2" err := MkdirAll(path, 0777) if err != nil { t.Fatalf("MkdirAll %q: %s", path, err) } defer RemoveAll(tmpDir + "/_TestMkdirAll_") // Already exists, should succeed. err = MkdirAll(path, 0777) if err != nil { t.Fatalf("MkdirAll %q (second time): %s", path, err) } // Make file. fpath := path + "/file"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:37 UTC 2023 - 3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 11 06:18:03 UTC 2023 - 5.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_toolchain_slash.txt
[!exec:/bin/sh] skip chmod 0777 go1.999999-/run.sh chmod 0777 run.sh ! go list all ! stdout 'RAN SCRIPT' cd subdir ! go list all ! stdout 'RAN SCRIPT' -- go.mod -- module exploit go 1.21 toolchain go1.999999-/run.sh -- go1.999999-/run.sh -- #!/bin/sh printf 'RAN SCRIPT\n' exit 1 -- run.sh -- #!/bin/sh printf 'RAN SCRIPT\n' exit 1 -- subdir/go.mod -- module exploit go 1.21
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 06 18:27:30 UTC 2023 - 464 bytes - Viewed (0) -
src/os/removeall_test.go
if err := Mkdir(filepath.Join(tempDir, dir), 0777); err != nil { t.Fatal(err) } } for _, dir := range readonly { d := filepath.Join(tempDir, dir) if err := Chmod(d, 0555); err != nil { t.Fatal(err) } // Defer changing the mode back so that the deferred // RemoveAll(tempDir) can succeed. defer Chmod(d, 0777) } err := RemoveAll(tempDir) if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:29 UTC 2024 - 12.3K bytes - Viewed (0) -
pkg/apis/core/fuzzer/fuzzer.go
s.DefaultMode = &mode }, func(cm *core.ConfigMapVolumeSource, c fuzz.Continue) { c.FuzzNoCustom(cm) // fuzz self without calling this function again if c.RandBool() { opt := c.RandBool() cm.Optional = &opt } // DefaultMode should always be set, it has a default // value and it is expected to be between 0 and 0777 var mode int32 c.Fuzz(&mode) mode &= 0777
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 04:32:01 UTC 2024 - 18.5K 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/cmd/covdata/tool_test.go
// Create subdirs. subdir := filepath.Join(dir, prog+"dir"+tag) if err := os.Mkdir(subdir, 0777); err != nil { t.Fatalf("can't create outdir %s: %v", subdir, err) } depdir := filepath.Join(subdir, "dep") if err := os.Mkdir(depdir, 0777); err != nil { t.Fatalf("can't create outdir %s: %v", depdir, err) } // Emit program. insrc := filepath.Join("testdata", prog+".go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 24.5K bytes - Viewed (0) -
src/os/path_windows_test.go
t.Fatalf("FullPath(%q) fails: %v", tmpDir, err) } tmpDir = prefix + fullPath } path := tmpDir + `\dir\` if err := os.MkdirAll(path, 0777); err != nil { t.Fatalf("MkdirAll(%q) failed: %v", path, err) } path = path + `.\dir2` if err := os.MkdirAll(path, 0777); err == nil { t.Fatalf("MkdirAll(%q) should have failed, but did not", path) } } func TestOpenRootSlash(t *testing.T) { t.Parallel()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:37:32 UTC 2024 - 8K bytes - Viewed (0) -
src/cmd/cover/cfg_test.go
pname := "yesFuncsNoTests" mode := "count" gran := "perblock" tag := mode + "_" + gran instdir := filepath.Join(dir, "inst") if err := os.Mkdir(instdir, 0777); err != nil { t.Fatal(err) } mdir := filepath.Join(dir, "meta") if err := os.Mkdir(mdir, 0777); err != nil { t.Fatal(err) } mpath := filepath.Join(mdir, "covmeta.xxx") incfg := writePkgConfig(t, instdir, tag, ppath, pname, gran, mpath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 12:51:11 UTC 2024 - 7.8K bytes - Viewed (0) -
cmd/xl-storage_unix_test.go
disk, err := newLocalXLStorage(tmpPath) if err != nil { t.Fatalf("Initializing xlStorage failed with %s.", err) } // Attempt to create a volume to verify the permissions later. // MakeVol creates 0777. if err = disk.MakeVol(context.Background(), testCase.volName); err != nil { t.Fatalf("Creating a volume failed with %s expected to pass.", err) } // Stat to get permissions bits.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jul 25 19:37:26 UTC 2022 - 3.4K bytes - Viewed (0)