Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for skipAccessChecks (0.12 sec)

  1. cmd/xl-storage.go

    	dstVolumeDir, err := s.getVolDir(dstVolume)
    	if err != nil {
    		return res, err
    	}
    
    	if !skipAccessChecks(srcVolume) {
    		// Stat a volume entry.
    		if err = Access(srcVolumeDir); err != nil {
    			return res, convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    	if !skipAccessChecks(dstVolume) {
    		if err = Access(dstVolumeDir); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricRenameData, srcPath, fi.DataDir, dstVolume, dstPath)
    	if err != nil {
    		return res, err
    	}
    	defer func() {
    		if err == nil && !skipAccessChecks(dstVolume) {
    			p.storage.setWriteAttribute(p.totalWrites.Add(1))
    		}
    		done(0, &err)
    	}()
    
    	// Copy inline data to a new buffer to function with deadlines.
    	if len(fi.Data) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top