Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for osIsPermission (0.1 sec)

  1. cmd/config-migrate.go

    		if _, err = Load(cfgFile, cfg); err != nil {
    			if !osIsNotExist(err) && !osIsPermission(err) {
    				return nil, err
    			}
    			continue
    		}
    		data, _ = json.Marshal(cfg)
    		break
    	}
    	if osIsPermission(err) {
    		logger.Info("Older config found but is not readable %s, proceeding to read config from other places", err)
    	}
    	if osIsNotExist(err) || osIsPermission(err) || len(data) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    				return nil, errUnformattedDisk
    			}
    			if osIsNotExist(err) {
    				return nil, errDiskNotFound
    			} else if osIsPermission(err) {
    				return nil, errDiskAccessDenied
    			}
    			storageLogOnceIf(GlobalContext, err, "check-format-json") // log unexpected errors
    			return nil, errCorruptedBackend
    		} else if osIsPermission(err) {
    			return nil, errDiskAccessDenied
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top