Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for 0640 (0.04 sec)

  1. src/cmd/go/testdata/script/mod_permissions.txt

    [short] skip
    
    # Skip platforms that do not have Unix-style file permissions.
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    chmod 0640 go.mod
    chmod 0604 go.sum
    go mod edit -module=golang.org/issue/34634
    
    go get
    cmp go.mod go.mod.want
    cmp go.sum go.sum.want
    
    go run .
    stdout 'go.mod: 0640'
    stdout 'go.sum: 0604'
    
    -- read_perm.go --
    package main
    
    import (
    	"fmt"
    	"os"
    	_ "rsc.io/sampler"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/staticpod/utils_linux_test.go

    		filepath.Join(cfg.CertificatesDir, kubeadmconstants.ServiceAccountPrivateKeyName):  {uid: 0, gid: supGroup, permissions: 0640},
    		filepath.Join(cfg.CertificatesDir, kubeadmconstants.APIServerKeyName):              {uid: runAsUser, gid: runAsGroup, permissions: 0600},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 14:41:12 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/staticpod/utils_linux.go

    	if err := updatePathOwnerAndPermissions(saPublicKeyFile, *runAsUser, *runAsGroup, 0600); err != nil {
    		return err
    	}
    	saPrivateKeyFile := filepath.Join(cfg.CertificatesDir, kubeadmconstants.ServiceAccountPrivateKeyName)
    	if err := updatePathOwnerAndPermissions(saPrivateKeyFile, 0, *supplementalGroup, 0640); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 14:41:12 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystemTest.groovy

            def file = new File("does-not-exist")
    
            given:
            fileModeMutator.chmod(_, _) >> { throw failure }
    
            when:
            fileSystem.chmod(file, 0640)
    
            then:
            FileException e = thrown()
            e.message == "Could not set file mode 640 on '$file'."
        }
    
        def "wraps failure to get file mode"() {
            def failure = new RuntimeException()
            def file = new File("does-not-exist")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_volumes_linux_test.go

    				volumePath := filepath.Join(podDir, "volumes/plugin/name")
    				if err := os.MkdirAll(volumePath, 0750); err != nil {
    					return err
    				}
    				return os.WriteFile(filepath.Join(volumePath, "test.txt"), []byte("test1"), 0640)
    			},
    			validateFunc: func(kubelet *Kubelet) error {
    				podDir := kubelet.getPodDir("pod1uid")
    				return validateDirExists(filepath.Join(podDir, "volumes/plugin/name"))
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/conntrack.go

    	if err != nil {
    		return -1, err
    	}
    	return strconv.Atoi(strings.TrimSpace(string(b)))
    }
    
    func writeIntStringFile(filename string, value int) error {
    	return os.WriteFile(filename, []byte(strconv.Itoa(value)), 0640)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/runtime/traceback_system_test.go

    	getPC := func(line string) (uint64, error) {
    		_, pcstr, ok := strings.Cut(line, " pc=") // e.g. pc=0x%x
    		if !ok {
    			return 0, fmt.Errorf("no pc= for stack frame: %s", line)
    		}
    		return strconv.ParseUint(pcstr, 0, 64) // 0 => allow 0x prefix
    	}
    
    	var (
    		pcs            []uintptr
    		parentSentinel uint64
    		childSentinel  = sentinel()
    		on             = false // are we in the first running goroutine?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/archive/tar/reader_test.go

    		file: "testdata/gnu.tar",
    		headers: []*Header{{
    			Name:     "small.txt",
    			Mode:     0640,
    			Uid:      73025,
    			Gid:      5000,
    			Size:     5,
    			ModTime:  time.Unix(1244428340, 0),
    			Typeflag: '0',
    			Uname:    "dsymonds",
    			Gname:    "eng",
    			Format:   FormatGNU,
    		}, {
    			Name:     "small2.txt",
    			Mode:     0640,
    			Uid:      73025,
    			Gid:      5000,
    			Size:     11,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    				Name:     "small.txt",
    				Size:     5,
    				Mode:     0640,
    				Uid:      73025,
    				Gid:      5000,
    				Uname:    "dsymonds",
    				Gname:    "eng",
    				ModTime:  time.Unix(1246508266, 0),
    			}, nil},
    			testWrite{"Kilts", 5, nil},
    
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "small2.txt",
    				Size:     11,
    				Mode:     0640,
    				Uid:      73025,
    				Uname:    "dsymonds",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    	getPC := func(line string) (uint64, error) {
    		_, pcstr, ok := strings.Cut(line, " pc=") // e.g. pc=0x%x
    		if !ok {
    			return 0, fmt.Errorf("no pc= for stack frame: %s", line)
    		}
    		return strconv.ParseUint(pcstr, 0, 64) // 0 => allow 0x prefix
    	}
    
    	var (
    		pcs            []uintptr
    		parentSentinel uint64
    		childSentinel  = sentinel()
    		on             = false // are we in the first running goroutine?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top