Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for rwx (0.02 sec)

  1. pkg/apis/core/v1/helper/helpers_test.go

    	}
    
    	modes = GetAccessModesFromString("ROX,RWX")
    	if !ContainsAccessMode(modes, v1.ReadOnlyMany) {
    		t.Errorf("Expected mode %s, but got %+v", v1.ReadOnlyMany, modes)
    	}
    	if !ContainsAccessMode(modes, v1.ReadWriteMany) {
    		t.Errorf("Expected mode %s, but got %+v", v1.ReadWriteMany, modes)
    	}
    
    	modes = GetAccessModesFromString("RWO,ROX,RWX")
    	if !ContainsAccessMode(modes, v1.ReadWriteOnce) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go

    	// Required for querying lister for PVCs in the same namespace.
    	podWithReadWriteManyPVC := st.MakePod().Name("pod-with-rwx").Namespace(metav1.NamespaceDefault).PVC("claim-with-rwx").Node("node-1").Obj()
    
    	node := &v1.Node{
    		ObjectMeta: metav1.ObjectMeta{
    			Namespace: "default",
    			Name:      "node-1",
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitScriptHandlingIntegrationTest.groovy

        TestFile createDistribution(int i) {
            def distro = file("distro$i")
            distro.copyFrom(distribution.getGradleHomeDir())
            distro.file("bin", OperatingSystem.current().getScriptName("gradle")).permissions = 'rwx------'
            distro.file("init.d/init.gradle") << """
                gradle.rootProject {
                    println "from distro $i"
                }
            """
            distro
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. pkg/apis/core/helper/helpers.go

    	return standardFinalizers.Has(str)
    }
    
    // GetAccessModesAsString returns a string representation of an array of access modes.
    // modes, when present, are always in the same order: RWO,ROX,RWX,RWOP.
    func GetAccessModesAsString(modes []core.PersistentVolumeAccessMode) string {
    	modes = removeDuplicateAccessModes(modes)
    	modesStr := []string{}
    	if ContainsAccessMode(modes, core.ReadWriteOnce) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    // section, and "rwx" contains permissions for the section.
    func (state *dodataState) allocateDataSectionForSym(seg *sym.Segment, s loader.Sym, rwx int) *sym.Section {
    	ldr := state.ctxt.loader
    	sname := ldr.SymName(s)
    	if strings.HasPrefix(sname, "go:") {
    		sname = ".go." + sname[len("go:"):]
    	}
    	sect := addsection(ldr, state.ctxt.Arch, seg, sname, rwx)
    	sect.Align = symalign(ldr, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  6. src/io/fs/fs.go

    	w := 0
    	for i, c := range str {
    		if m&(1<<uint(32-1-i)) != 0 {
    			buf[w] = byte(c)
    			w++
    		}
    	}
    	if w == 0 {
    		buf[w] = '-'
    		w++
    	}
    	const rwx = "rwxrwxrwx"
    	for i, c := range rwx {
    		if m&(1<<uint(9-1-i)) != 0 {
    			buf[w] = byte(c)
    		} else {
    			buf[w] = '-'
    		}
    		w++
    	}
    	return string(buf[:w])
    }
    
    // IsDir reports whether m describes a directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    		},
    		{
    			name:                    "RWX with plugin with SELinux with full context in pod and SELinuxMount feature disabled",
    			accessModes:             []v1.PersistentVolumeAccessMode{v1.ReadWriteMany},
    			newContainerSELinuxOpts: fullOpts,
    			pluginSupportsSELinux:   true,
    			expectedContext:         "", // RWX volumes don't support SELinux
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableFilePermissions.java

         *   </tr>
         *   <tr>
         *     <td>000</td>
         *     <td>---------</td>
         *     <td>no permissions</td>
         *   </tr>
         *   <tr>
         *     <td>700</td>
         *     <td>rwx------</td>
         *     <td>read, write &amp; execute only for owner</td>
         *   </tr>
         *   <tr>
         *     <td>770</td>
         *     <td>rwxrwx---</td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy

            def newScript = binDir.file(OperatingSystem.current().getScriptName('my app'))
    
            binDir.file(OperatingSystem.current().getScriptName('gradle')).copyTo(newScript)
            newScript.permissions = 'rwx------'
    
            then:
            def result = executer.usingExecutable(newScript.absolutePath).withTasks("help").run()
            result.output.contains("my app")
    
            cleanup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            if (retval != 0) {
                throw new RuntimeException("Could not list permissions for '$file': $error")
            }
            def perms = result.split()[0]
            assert perms.matches("[d\\-][rwx\\-]{9}[@\\.\\+]?")
            return perms.substring(1, 10)
        }
    
        void setPermissions(String permissions) {
            if (isWindows()) {
                return
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top