I am trying to move many thousands of files to a Synology NAS.
Thanks to excellent posts here and superuser, I have been using rsync a lot. But in this case, I'm getting a very high failure rate due to years of permissions problems across the board.
Any ideas on how I can get all these files copied, either by straightening out the permissions issues, or bypassing them? Once on the NAS, the permissions won't matter.
chmod
/chown
(or usingsudo rsync ...
) should suffice.So for example I'll see "rsync: opendir (location) failed: Permission denied 13
Many users in this network have various permissions issues, locked out of certain files and folders, while others can access, and so I'm presuming this is the same mess.