Haider of Sweden Posted July 7, 2019 Report Share Posted July 7, 2019 I did install Sync on my Raspberry Pi and when I share folders located under /home/rslsync, the owner is rslsync. However, the location where I intend to put my files, the owner is pi. This is where I need your help, because Sync complains about "locked files" followed by "Not enough permissions" for each folder in the share. I am really new to Linux, but something tells me that since the Sync-process is run by the owner rslsync, then maybe I need to set the same rights for the folder where I intend to put my synced files? Quote Link to comment Share on other sites More sharing options...
Tim77 Posted July 7, 2019 Report Share Posted July 7, 2019 This is a good guide:https://help.resilio.com/hc/en-us/articles/206178924-Installing-Sync-package-on-Linux Bascially, you can add the rslsync user to the pi user's default permissions group (pi), like this: sudo usermod -aG pi rslsync You will also have to change the permissions on the pi home folder to allow read/write permission for the pi group: sudo chmod g+rw /home/pi Quote Link to comment Share on other sites More sharing options...
Haider of Sweden Posted July 7, 2019 Author Report Share Posted July 7, 2019 On 7/7/2019 at 5:25 PM, Tim77 said: sudo chmod g+rw /home/pi My shared folder is located under /media/Pi/DRIVE/Sync/Mob I dont know what happened just now, but I cant even enter the Pi-folder above. Looking into the permissions, the owner is me, not Pi like the other folders, not Rslsync. I dont remember if I did something to change that or if I was always the owner, but that something happened after chmod (I either wrote sudo chmod g+rw /media/Pi/DRIVE/Sync/Mob or sudo chmod g+rw /media/Pi/DRIVE/Sync) What could have happened and what should I do to fix it? edit: I think I remember how I (as in the user) became owner of /media/Pi/ - I set the Home Directory to /Media/Pi instead of the default one. Once I removed that change, reboot, the Pi-folder now had root as owner. Not sure if that was the default. Anyway, I still cant enter the Pi-folder from within Sync GUI. Quote Link to comment Share on other sites More sharing options...
Hervshahn Posted May 6, 2020 Report Share Posted May 6, 2020 Hello, I have a similar problem - using a Raspberry PI with Raspbian and a USB hard drive attached to it to sync files from my Synology NAS to the USB drive. The drive is mounted on the Raspberry by user pi to /media/pi/Sync and sync tasks have been created on both the Synology NAS and the Raspberry, but sync does not work due to "locked files" and permission issues on the USB disk drive. I already treid to add the user rslsync to the group of the user pi but with no effect, still same problem. Any hints on how to solve this? Thanks a lot! Quote Link to comment Share on other sites More sharing options...
Andy+ Posted May 6, 2020 Report Share Posted May 6, 2020 Best is to add the user "rslsync" to the admin group Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.