Page 1 of 1

Transmission change folder permission

Posted: Thu Jul 02, 2009 7:59 pm
by salocinbake
I had the "permission denied" when using transmission.

Using my limited Unix skills, I chmod 777 my torrents folder.


Is it too much, if so, what would be the correct permission settings.

Thanks,

I will update the wiki for transmission
Capture.PNG
Before/after
Capture.PNG (43.26 KiB) Viewed 11711 times

Re: Transmission change folder permission

Posted: Wed Jul 08, 2009 1:30 pm
by gmw
I think the below would suffice

Code: Select all

chmod a+w -R /var/hda/files/torrents

Re: Transmission change folder permission

Posted: Wed Jul 08, 2009 11:39 pm
by moredruid
777 basically means setting the permissions to -rwxrwxrwx and the result is the same as gmw's command.
the first rwx is user permissions, the second rwx is group permissions and the third rwx are the permissions for "others"
in the number notation the first number is for the user permission, the second is for group permissions and the third for other.
I find it easier to work with the letter notation though: u stands for user, g for group and o for other permissions. There is a 4th category named a which stands for all.
I always forget how to count the permission numbers so I just set the permissions with the letter notation, it's also easier to use with some special modifiers like the setuid/setgid and sticky bit.
some examples:
chmod -R g-w /directory = recursively remove write permissions for the group that owns the directory (output from ls -l could be: drwxr-xr-x)
chmod u+x /directory/file = add execution permissions to a file (output from ls -l could then be: -rwxrw-rw-)
chmod a=rx /directory = set all permissions to rx (output from ls -l is: dr-xr-xr-x)

Re: Transmission change folder permission

Posted: Mon Jul 13, 2009 10:05 pm
by salocinbake
Thanks gmw and moreduid,

I had to reread your post, but after doing:

chmod -R o-w /directory ( So I guess removing write permission to the others)
I was able to set the files to be matching the others. But now the "transmission" app could not use the /torrents folder.

So I guess to make transmission working, we need to set the allow writing permission of the "other" group.

Is this correct,

THank you,

I would like to update the wiki, if so.

Re: Transmission change folder permission

Posted: Tue Jul 14, 2009 5:24 am
by bsk
Just a note, and also note this is not a fix lol.

But you can edit the wiki with whatever you would like as long as it benefits the page. This is one of those times, we try to keep it updated but sometimes get busy and forget, any help there would be great!

Re: Transmission change folder permission

Posted: Sat Aug 14, 2010 4:53 am
by OldSkul
I have a problem.

I can access (add/remove files) to torrents folder without a problem. But problem is when a new folder is created (inside torrents folder). This of course happens when i download something. Problem is that i cannot, for example add .srt subtitle into this folder. I dont have permissions...

Re: Transmission change folder permission

Posted: Sat Aug 14, 2010 5:14 am
by OldSkul
And again i found a solution. You need to change unmask value to 0 in setttings.json file.

:)

Re: Transmission change folder permission

Posted: Sun Oct 10, 2010 7:52 am
by ksjuggalo
Where is the settings.json file?
My linux knowledge is limited so i have no clue where to look.


EDIT: I found a settings.json file at home/username/.config/transmission/
Chamged the umask to 0...now i can't see the folder in my downloads. Transmission verifies data like its there. But i cant see it on the network or locally.