Locking the ".sync" folder (restrictive permissions)


luckman212

Recommended Posts

I had a situation where someone moved the invisible .sync folder at the top level of a synced folder. This caused major havoc as would be expected.

My question is: can I lock down this folder so it is only readable/writable by the "rslsync" user? Any consequences of that, other than a user not being able to browse into the Archive?

Link to comment
Share on other sites

  • 1 month later...

I don't believe it would hurt anything, as long as rslsync is the account that Resilio is running under. Nothing else should ever need to see inside that folder. (I had to change mine to user mode for various reasons, so your proposed solution wouldn't work on my system. But, for a default install, I believe it would.)

 

EDIT: as for how, in case anyone is wondering, I'd use recursive CHOWN:  

sudo chown -R rslsync <path to .sync>

 

Edited by Lentil-Soup
added CHOWN :)
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.