Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for Denied (0.17 sec)

  1. cmd/config-dir.go

    	globalCertsCADir = defaultCertsCADir
    )
    
    // Get - returns current directory.
    func (dir *ConfigDir) Get() string {
    	return dir.path
    }
    
    // Attempts to create all directories, ignores any permission denied errors.
    func mkdirAllIgnorePerm(path string) error {
    	err := os.MkdirAll(path, 0o700)
    	if err != nil {
    		// It is possible in kubernetes like deployments this directory
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    		}
    	}
    
    	// TestXLStorage for permission denied.
    	if runtime.GOOS != globalWindowsOSName {
    		permDeniedDir := createPermDeniedFile(t)
    		if err = os.Chmod(permDeniedDir, 0o400); err != nil {
    			t.Fatalf("Unable to change permission to temporary directory %v. %v", permDeniedDir, err)
    		}
    
    		// Initialize xlStorage storage layer for permission denied error.
    		_, err = newLocalXLStorage(permDeniedDir)
    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)
  3. cmd/s3-zip-handlers.go

    			//   HTTP status code 404 ("no such key")
    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    			//   status code 403 ("access denied") error.`
    			if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    				Action:          policy.ListBucketAction,
    				BucketName:      bucket,
    				ConditionValues: getConditionValues(r, "", auth.AnonymousCredentials),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. cmd/os_windows.go

    }
    
    func syscallErrToFileErr(dirPath string, err error) error {
    	switch err {
    	case nil:
    		return nil
    	case syscall.ERROR_FILE_NOT_FOUND:
    		return errFileNotFound
    	case syscall.ERROR_ACCESS_DENIED:
    		return errFileAccessDenied
    	default:
    		// Fails on file not found and when not a directory.
    		return osErrToFileErr(&os.PathError{
    			Op:   "FindNextFile",
    			Path: dirPath,
    			Err:  err,
    		})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  5. docs/sts/README.md

    following JWT claims, `policy` claim is mandatory and should be present as part of your JWT claim. Without this claim the generated credentials will not have access to any resources on the server, using these credentials application would receive 'Access Denied' errors.
    
    | Claim Name | Type                                              | Claim Value                                                                                                                                                      ...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 7.8K bytes
    - Viewed (1)
  6. cmd/object-api-errors.go

    	return "Object exists on : " + e.Bucket + " as directory " + e.Object
    }
    
    // PrefixAccessDenied object access is denied.
    type PrefixAccessDenied GenericError
    
    func (e PrefixAccessDenied) Error() string {
    	return "Prefix access is denied: " + e.Bucket + SlashSeparator + e.Object
    }
    
    // BucketExists bucket exists.
    type BucketExists GenericError
    
    func (e BucketExists) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/admission/v1/generated.proto

      optional string uid = 1;
    
      // Allowed indicates whether or not the admission request was permitted.
      optional bool allowed = 2;
    
      // Result contains extra details into why an admission request was denied.
      // This field IS NOT consulted in any way if "Allowed" is "true".
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Status status = 3;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. cmd/auth-handler_test.go

    	// List of test cases for validating http request authentication.
    	testCases := []struct {
    		req     *http.Request
    		s3Error APIErrorCode
    	}{
    		// When request is unsigned, access denied is returned.
    		{mustNewRequest(http.MethodGet, "http://127.0.0.1:9000", 0, nil, t), ErrAccessDenied},
    		// Empty Content-Md5 header.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. cmd/os-readdir_test.go

    		permDir := path.Join(os.TempDir(), "perm-dir")
    		if err := os.MkdirAll(permDir, os.FileMode(0o200)); err != nil {
    			t.Fatal(err)
    		}
    		defer os.RemoveAll(permDir)
    
    		// Check if permission denied.
    		if _, err := readDir(permDir); err == nil {
    			t.Fatalf("expected = an error, got: nil")
    		}
    	}
    }
    
    // Represents data type for all the test results.
    type result struct {
    	dir     string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  10. cmd/encryption-v1.go

    	errEncryptedObject                = errors.New("The object was stored using a form of SSE")
    	errInvalidSSEParameters           = errors.New("The SSE-C key for key-rotation is not correct") // special access denied
    	errKMSNotConfigured               = errors.New("KMS not configured for a server side encrypted objects")
    	errKMSKeyNotFound                 = errors.New("Unknown KMS key ID")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
Back to top