mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 00:13:49 +01:00
serve nfs: mask unimplemented error from chmod
This commit is contained in:
parent
877321c2fb
commit
cae22a7562
@ -122,7 +122,12 @@ func (f *FS) Chmod(name string, mode os.FileMode) (err error) {
|
||||
fs.Logf(f, "Error while closing file: %e", err)
|
||||
}
|
||||
}()
|
||||
return file.Chmod(mode)
|
||||
err = file.Chmod(mode)
|
||||
// Mask Chmod not implemented
|
||||
if err == vfs.ENOSYS {
|
||||
err = nil
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
// Lchown changes the owner of symlink
|
||||
|
Loading…
Reference in New Issue
Block a user