Sign in to follow this  
dany90

BitTorrent Sync on debian syncing files as root

Recommended Posts

Hi!

I installed BitTorrent Sync on my Raspberry pi with raspbian (debian based) and it runs as root and makes root:root files with permissions 733. I can't delete files as user or with ownclowd, which I want to use as a web interface. Can I configure bitsync to make files with orner www-data:pi an permissions 770?

Share this post


Link to post
Share on other sites

It depends on how you "installed" btsync. If it is a service i.e. you start it through /etc/init.d, then maybe take a look at the script and change user and umask respectively. If not, then you could switch to the user www-data:pi with su and then change the the umask with the umask command.

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.

Sign in to follow this