BitTorrent sync file permissions (UBUNTU)
2014-07
I started using BitTorrent sync last night, as a do-it-yourself Dropbox project, and it works amazing, except for one thing...
On my Ubuntu 13.10 laptop, all the file permissions are messed up, and are under root by default.
I either need to know how to:
A) Change the default permissions to allow me to make changes
B) Change the BitTorrent sync user to mine, allowing it, odviously, to fall under me...
-OR-
C) Something else you guys can think of.
My configuration under Ubuntu was similar.
I've had very good luck in following the procedure listed here:
I'm currently running btsync across three linux boxes and one windows box, all with no problems.
Good luck.
I have setup Ubuntu as a development web server - however I am experiencing problems with file permissions. I have 2 users, user1
and user2
, and they both have been put into the group www-data
.
I have uploaded a new file with user1 so the file is owned by user1 and the www-data group.
At present if user2 wants to modify the permissions on that file to say 777 - they cannot.
Is there a way to allow any users within a group to be able to modifiy permissions etc.. on this file? I have tried changing umask to 002 and a few other combinations that were suggested without luck.
From chmod(2) --
The effective UID of the calling process must match the owner of the
file, or the process must be privileged (Linux: it must have the
CAP_FOWNER capability).
However, user2 (with write permissions on the directory) could create a copy of the file, set its permissions, then replace the original file with the copy.