diff --git a/backend/local/local.go b/backend/local/local.go index d7e9bc346..aaff49a1c 100644 --- a/backend/local/local.go +++ b/backend/local/local.go @@ -642,11 +642,6 @@ func (o *Object) Storable() bool { } } mode := o.mode - // On windows a file with os.ModeSymlink represents a file with reparse points - if runtime.GOOS == "windows" && (mode&os.ModeSymlink) != 0 { - fs.Debugf(o, "Clearing symlink bit to allow a file with reparse points to be copied") - mode &^= os.ModeSymlink - } if mode&os.ModeSymlink != 0 { if !*skipSymlinks { fs.Logf(o, "Can't follow symlink without -L/--copy-links")