Transmission change folder permission

User avatar
salocinbake
Posts: 53
Joined: Sun Dec 14, 2008 6:31 pm
Location: Niagara Falls

Transmission change folder permission

Postby salocinbake » Thu Jul 02, 2009 7:59 pm

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 11710 times
My HDA: Pentium dual cpu E2200 @2.2GHz 4GB of Ram, 1T+1,5T hard drive.

gmw
Posts: 104
Joined: Tue Dec 09, 2008 12:42 pm
Location: Northern California
Contact:

Re: Transmission change folder permission

Postby gmw » Wed Jul 08, 2009 1:30 pm

I think the below would suffice

Code: Select all

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

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Transmission change folder permission

Postby moredruid » Wed Jul 08, 2009 11:39 pm

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)
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

User avatar
salocinbake
Posts: 53
Joined: Sun Dec 14, 2008 6:31 pm
Location: Niagara Falls

Re: Transmission change folder permission

Postby salocinbake » Mon Jul 13, 2009 10:05 pm

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.
My HDA: Pentium dual cpu E2200 @2.2GHz 4GB of Ram, 1T+1,5T hard drive.

bsk
Posts: 280
Joined: Sun May 03, 2009 7:18 pm
Location: Tennessee
Contact:

Re: Transmission change folder permission

Postby bsk » Tue Jul 14, 2009 5:24 am

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!
Having problems with connecting to the internet? Try the Network Troubleshooter.

Not sure what your Gateway IP? Head on over to the Find Your Gateway IP page to find out easily.

Image

OldSkul
Posts: 28
Joined: Sun Aug 01, 2010 6:53 am

Re: Transmission change folder permission

Postby OldSkul » Sat Aug 14, 2010 4:53 am

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...

OldSkul
Posts: 28
Joined: Sun Aug 01, 2010 6:53 am

Re: Transmission change folder permission

Postby OldSkul » Sat Aug 14, 2010 5:14 am

And again i found a solution. You need to change unmask value to 0 in setttings.json file.

:)

ksjuggalo
Posts: 5
Joined: Mon Aug 16, 2010 9:32 pm

Re: Transmission change folder permission

Postby ksjuggalo » Sun Oct 10, 2010 7:52 am

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.

Who is online

Users browsing this forum: No registered users and 22 guests