Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for chmod (0.66 sec)

  1. cmd/storage-rest-server.go

    		if endpoint.URL != nil {
    			hint = fmt.Sprintf("Run the following command to add write permissions: `sudo chown -R %s %s && sudo chmod u+rxw %s`",
    				username, endpoint.Path, endpoint.Path)
    		} else {
    			hint = fmt.Sprintf("Run the following command to add write permissions: `sudo chown -R %s. <path> && sudo chmod u+rxw <path>`", username)
    		}
    		if !exit {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	}
    
    	if err = os.Chmod(slashpath.Join(permDeniedDir, "mybucket"), 0o400); err != nil {
    		t.Fatalf(fmt.Sprintf("Unable to change permission to temporary directory %v. %v", slashpath.Join(permDeniedDir, "mybucket"), err))
    	}
    	t.Cleanup(func() {
    		os.Chmod(slashpath.Join(permDeniedDir, "mybucket"), 0o775)
    	})
    
    	if err = os.Chmod(permDeniedDir, 0o400); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top