Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for 0777 (0.04 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/archive/zip/struct.go

    		m |= s_ISUID
    	}
    	if mode&fs.ModeSetgid != 0 {
    		m |= s_ISGID
    	}
    	if mode&fs.ModeSticky != 0 {
    		m |= s_ISVTX
    	}
    	return m | uint32(mode&0777)
    }
    
    func unixModeToFileMode(m uint32) fs.FileMode {
    	mode := fs.FileMode(m & 0777)
    	switch m & s_IFMT {
    	case s_IFBLK:
    		mode |= fs.ModeDevice
    	case s_IFCHR:
    		mode |= fs.ModeDevice | fs.ModeCharDevice
    	case s_IFDIR:
    		mode |= fs.ModeDir
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/archive/tar/tar_test.go

    			Typeflag: TypeReg,
    		},
    		fm: 0644,
    	}, {
    		// symbolic link.
    		h: &Header{
    			Name:     "link.txt",
    			Mode:     0777,
    			Size:     0,
    			ModTime:  time.Unix(1360600852, 0),
    			Typeflag: TypeSymlink,
    		},
    		fm: 0777 | fs.ModeSymlink,
    	}, {
    		// character device node.
    		h: &Header{
    			Name:     "dev/null",
    			Mode:     0666,
    			Size:     0,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. cmd/os-reliable.go

    // syscall.ENOENT (parent does not exist).
    func reliableMkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) {
    	i := 0
    	for {
    		// Creates all the parent directories, with mode 0777 mkdir honors system umask.
    		if err = osMkdirAll(dirPath, mode, baseDir); err != nil {
    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/archive/zip/reader_test.go

    		0x00, 0x31, 0x31, 0x31, 0x32, 0x32, 0x32, 0x0a,
    		0x50, 0x4b, 0x07, 0x08, 0x1d, 0x88, 0x77, 0xb0,
    		0x07, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00,
    		0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00,
    		0x08, 0x00, 0x00, 0x00, 0x6b, 0xb4, 0xba, 0x46,
    		0x1d, 0x88, 0x77, 0xb0, 0x07, 0x00, 0x00, 0x00,
    		0x07, 0x00, 0x00, 0x00, 0x03, 0x00, 0x18, 0x00,
    		0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    				ModTime:  time.Unix(1245217492, 0),
    			}, nil},
    			testWrite{"Google.com\n", 11, nil},
    
    			testHeader{Header{
    				Typeflag: TypeSymlink,
    				Name:     "link.txt",
    				Linkname: "small.txt",
    				Mode:     0777,
    				Uid:      1000,
    				Gid:      1000,
    				Uname:    "strings",
    				Gname:    "strings",
    				ModTime:  time.Unix(1314603082, 0),
    			}, nil},
    			testWrite{"", 0, nil},
    
    			testClose{nil},
    		},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      repeated KeyToPath items = 2;
    
      // defaultMode is optional: mode bits used to set permissions on created files by default.
      // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
      // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
      // Defaults to 0644.
      // Directories within the path are not affected by this setting.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		return err
    	}
    
    	if err = Access(volumeDir); err != nil {
    		// Volume does not exist we proceed to create.
    		if osIsNotExist(err) {
    			// Make a volume entry, with mode 0777 mkdir honors system umask.
    			err = mkdirAll(volumeDir, 0o777, s.drivePath)
    		}
    		if osIsPermission(err) {
    			return errDiskAccessDenied
    		} else if isSysErrIO(err) {
    			return errFaultyDisk
    		}
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  9. src/archive/tar/reader_test.go

    				"mtime": "1350244992.023960108",
    				"atime": "1350244992.023960108",
    				"ctime": "1350244992.023960108",
    			},
    			Format: FormatPAX,
    		}, {
    			Name:       "a/b",
    			Mode:       0777,
    			Uid:        1000,
    			Gid:        1000,
    			Uname:      "shane",
    			Gname:      "shane",
    			Size:       0,
    			ModTime:    time.Unix(1350266320, 910238425),
    			ChangeTime: time.Unix(1350266320, 910238425),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

                    "-X111", //
                    "8:-X222", //
                    "10:-X333", //
                    "11:-X444", //
                    "8-:-X555", //
                    "10-:-X666", //
                    "11-:-X777", //
                    "12-:-X888", //
                    "-X999",//
            };
    
            System.setProperty("java.version", "1.8.0_171");
            String[] values = JvmUtil.filterJvmOptions(args);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top