tompom Posted June 16, 2020 Report Share Posted June 16, 2020 Hi, Using resilio-sync 2.6.3. Is there a configuration setting where one can control the owner and permissions of files created by resilio-sync? My android phone is syncing to my NAS and all files are created as "-rw-rw-r-- 1 rslsync rslsync"; e.g. owned by rslsync:rslsync 664. This causes problems for my windows samba client as it's nobody:users so it cannot write these files. How can I change the configuration so that files created by resilio-sync are created as rslsync:users? Regards, Quote Link to comment Share on other sites More sharing options...
Andy+ Posted June 16, 2020 Report Share Posted June 16, 2020 Which NAS you have? Quote Link to comment Share on other sites More sharing options...
tompom Posted June 16, 2020 Author Report Share Posted June 16, 2020 I have a raspberry pi 4+ running raspbian. I installed resilio from the repository. But I can basically do anything I want Quote Link to comment Share on other sites More sharing options...
Andy+ Posted June 16, 2020 Report Share Posted June 16, 2020 Maybe is needed to adjust the permissions in the whole. E.g. in my Synologys the Resilio user "rslsync" is member of the admin group. This setting is done from the installation package I can use and works well. Quote Link to comment Share on other sites More sharing options...
tompom Posted June 17, 2020 Author Report Share Posted June 17, 2020 11 hours ago, Andy+ said: Maybe is needed to adjust the permissions in the whole. E.g. in my Synologys the Resilio user "rslsync" is member of the admin group. This setting is done from the installation package I can use and works well. That would be good. There is no install options in the Debian package though. Resilio installs and a user and group called rslsync is created. I can make the user a part of other groups but files are still created as rslsync:rslsync I don't see any option to change that. A possible solution would be to have the anonymous samba client be rslsync instead of nobody but that feels like a hack. Quote Link to comment Share on other sites More sharing options...
Andy+ Posted June 17, 2020 Report Share Posted June 17, 2020 Basically, this is not decisive. BTW, on my servers it is the same. It is important that Resilio has unrestricted access as a user or group. In the root directories and the subdirectories. So maybe a membership in the admin is good, I didn't know. 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.