Tozapid

"Don'thave permissions to write to selected folder" CentOS

Recommended Posts

Hello, I tried add some folder to sync (for example /var/www/) but I see error "Don'thave permissions to write to  selected folder"

I can't change permissions for this folder, can I up permissions for resilio?

Than You!

 

CentOS 7 
resilio-sync-2.5.8-1.x86_64

Share this post


Link to post
Share on other sites

It's been a while since I installed Sync on my linux NAS. Have you created a btsync user and btsync group and given them rwx permission to that folder you're trying to share?

Share this post


Link to post
Share on other sites

This group and user was created automaticaly. I tried add user rslsync to group root, but without result. Also I can not change permission for sync folder, it's important 

 

 

[root@server ~]# cat /etc/passwd | grep rsl
rslsync:x:499:498::/home/rslsync:/sbin/nologin

 

[root@server ~]# cat /etc/group | grep rsl
root:x:0:rslsync
rslsync:x:498:

 

Share this post


Link to post
Share on other sites

Oh, I'm sorry, I did not have permissions for group. I used theese commands

 

usermod -a -G www-data rslsync
chmod -R g+r /var/www/
chmod -R g+w /var/www/

 

So.. thank you :)

Share this post


Link to post
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.