is there a way to get rclone to keep the file permissions

![CBD414D5-71E0-4c29-A801-24610ECEC04F|370x141](upload://nyUs6SuPCMu0357A376-D1DC-40c3-90AF-556C91504D1F RIyy6g8lNpwsoIFy.png)
My source address is NFS shared, and my destination address is local

Customers hope that rclone should have the function of maintaining permissions, but I did not find such parameters. I use root to execute rclone, but file permissions become root and permissions become 644 (umask 022). Is there any way to maintain the original owner and permissions of files in the share, or at least to maintain the original permissions? Who has a good idea? Thank you.

rclone doesn't maintain permissions or ownership as it isn't a concept which maps to cloud storage.

if using rclone mount you can use these to set the permissions you want

  --dir-perms FileMode                     Directory permissions (default 0777)
  --file-perms FileMode                    File permissions (default 0666)

Note also

  --umask int                              Override the permission bits set by the filesystem.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.