- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 116 for 0o700 (0.03 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/etcd3/testserver/test_server.go
cfg.InitialCluster = cfg.InitialClusterFromName(cfg.Name) cfg.ZapLoggerBuilder = embed.NewZapLoggerBuilder(zaptest.NewLogger(t, zaptest.Level(zapcore.ErrorLevel)).Named("etcd-server")) cfg.Dir = t.TempDir() os.Chmod(cfg.Dir, 0700) return cfg } // RunEtcd starts an embedded etcd server with the provided config // (or NewTestConfig(t) if nil), and returns a client connected to the server. // The server is terminated when the test ends.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 06 11:40:40 UTC 2023 - 3.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/flags.go
fmt.Printf("[kubelet-start] Writing kubelet environment file with flags to file %q\n", kubeletEnvFilePath) // creates target folder if not already exists if err := os.MkdirAll(kubeletDir, 0700); err != nil { return errors.Wrapf(err, "failed to create directory %q", kubeletDir) } if err := os.WriteFile(kubeletEnvFilePath, b, 0644); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 5K bytes - Viewed (0) -
cmd/xl-storage_test.go
} if err = os.WriteFile(slashpath.Join(permDeniedDir, "mybucket", "myobject"), []byte(""), 0o400); err != nil { t.Fatalf(fmt.Sprintf("Unable to create file %v. %v", slashpath.Join(permDeniedDir, "mybucket", "myobject"), err)) } if err = os.Chmod(slashpath.Join(permDeniedDir, "mybucket"), 0o400); err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 11 17:45:28 UTC 2024 - 66.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
realManifestDir := filepath.Join(kubernetesDir, constants.ManifestsSubDirName) if err := os.Mkdir(realManifestDir, 0700); err != nil { return nil, errors.Wrapf(err, "couldn't create a realManifestDir for the upgrade") } upgradedManifestDir := filepath.Join(kubernetesDir, "upgraded-manifests") if err := os.Mkdir(upgradedManifestDir, 0700); err != nil { return nil, errors.Wrapf(err, "couldn't create a upgradedManifestDir for the upgrade") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
if err != nil { t.Errorf("Unable to create temporary directory: %s", err) } for _, createDir := range test.setupDirs { err := os.Mkdir(filepath.Join(tmpDir, createDir), 0700) if err != nil { t.Errorf("Unable to setup test config directory: %s", err) } } for _, createFile := range test.setupFiles { fullPath := filepath.Join(tmpDir, createFile)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/util/oom/oom_linux.go
value := strconv.Itoa(oomScoreAdj) klog.V(4).Infof("attempting to set %q to %q", oomScoreAdjPath, value) var err error for i := 0; i < maxTries; i++ { err = os.WriteFile(oomScoreAdjPath, []byte(value), 0700) if err != nil { if os.IsNotExist(err) { klog.V(2).Infof("%q does not exist", oomScoreAdjPath) return os.ErrNotExist } klog.V(3).Info(err) time.Sleep(100 * time.Millisecond) continue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 07:13:28 UTC 2022 - 4K bytes - Viewed (0) -
security/tools/generate_cert/main.go
func saveCreds(certPem []byte, privPem []byte) { err := os.WriteFile(*outCert, certPem, 0o644) if err != nil { log.Fatalf("Could not write output certificate: %s.", err) } err = os.WriteFile(*outPriv, privPem, 0o600) if err != nil { log.Fatalf("Could not write output private key: %s.", err) } } func signCertFromCitadel() (*x509.Certificate, crypto.PrivateKey) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 28 16:21:30 UTC 2023 - 5.7K bytes - Viewed (0) -
src/runtime/security_test.go
// (at least freebsd-amd64-13_0) the default PATH doesn't include /usr/sbin, which is where // chown lives, but using 'su root -c' gives us the correct PATH. // buildTestProg uses os.MkdirTemp which creates directories with 0700, which prevents // setuid binaries from executing because of the missing g+rx, so we need to set the parent // directory to better permissions before anything else. We created this directory, so we
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 13 18:10:14 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt
// TODO GlobalCache require(!cacheDir.isDirectory) Files.createDirectories(cacheDir.toPath()) chmod(cacheDir, 448) // octal 0700 markAccessed(cacheDir) val stateFiles = mutableListOf<File>() val layout = WriteableLayout(cacheDir, stateFiles::add) try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/config.go
fmt.Printf("[kubelet-start] Writing kubelet configuration to file %q\n", configFile) // creates target folder if not already exists if err := os.MkdirAll(kubeletDir, 0700); err != nil { return errors.Wrapf(err, "failed to create directory %q", kubeletDir) } if err := os.WriteFile(configFile, b, 0644); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 02 12:34:30 UTC 2024 - 5.9K bytes - Viewed (0)