specifying file permission
specifying file permission
I, presumably like most people, run transmission-daemon as a daemon that starts up on bootup under root. Unfortunetely, because the files created by transmission-daemon are owned by root, I cannot move or delete the them. As such, I request that you be able be able to specify the file permission on the command line or otherwise.
Re: specifying file permission
Running trasmission on root is not a good idea. Create a user for that and set is umask to get the correct file permission.
Re: specifying file permission
My case is different.
I have transmission-daemon running as its own user (transmission), which is in a group.
However, it sets the group permissions as read-only.
When I want to delete some files I have to open a File Manager and set the write permission for its group.
How can I make transmission-daemon write its files with write permission to its group?
I have transmission-daemon running as its own user (transmission), which is in a group.
However, it sets the group permissions as read-only.
When I want to delete some files I have to open a File Manager and set the write permission for its group.
How can I make transmission-daemon write its files with write permission to its group?
Re: specifying file permission
How can I set the umask??
Re: specifying file permission
Code: Select all
umask 002
Calculating the number is kind of hard and badly explained / documented over the web.
I used the number 002 because I've read in some website that it gave both the user and it's group Read/Write access.
It's in this little hugely complicated details that Linux and other Unix-like Operating Systems scare users away.

Re: specifying file permission
Just set umask = 0 in the settings.json file.
source: http://trac.transmissionbt.com/wiki/EditConfigFiles
source: http://trac.transmissionbt.com/wiki/EditConfigFiles