Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for skipAccessChecks (0.18 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)
  3. cmd/metacache-walk.go

    	s.RLock()
    	legacy := s.formatLegacy
    	s.RUnlock()
    
    	// Verify if volume is valid and it exists.
    	volumeDir, err := s.getVolDir(opts.Bucket)
    	if err != nil {
    		return err
    	}
    
    	if !skipAccessChecks(opts.Bucket) {
    		// Stat a volume entry.
    		if err = Access(volumeDir); err != nil {
    			return convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    	// Use a small block size to start sending quickly
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top