Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/volume/projected/projected.go

    		case source.ServiceAccountToken != nil:
    			tp := source.ServiceAccountToken
    
    			// When FsGroup is set, we depend on SetVolumeOwnership to
    			// change from 0600 to 0640.
    			mode := *s.source.DefaultMode
    			if mounterArgs.FsUser != nil || mounterArgs.FsGroup != nil {
    				mode = 0600
    			}
    
    			var auds []string
    			if len(tp.Audience) != 0 {
    				auds = []string{tp.Audience}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top