Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsPermission (0.09 sec)

  1. cmd/xl-storage.go

    	if cleanUp {
    		bgFormatErasureCleanupTmp(s.drivePath) // cleanup any old data.
    	}
    
    	formatData, formatFi, err := formatErasureMigrate(s.drivePath)
    	if err != nil && !errors.Is(err, os.ErrNotExist) {
    		if os.IsPermission(err) {
    			return s, errDiskAccessDenied
    		} else if isSysErrIO(err) {
    			return s, errFaultyDisk
    		}
    		return s, err
    	}
    	s.formatData = formatData
    	s.formatFileInfo = formatFi
    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