Another Transmission - Permission denied error

Status
Not open for further replies.

Vanyo

Dabbler
Joined
Oct 2, 2011
Messages
45
I've been using the 8.2.0_Release-p1 for a long time. Now I upgraded to 8.3.0 and my transmission plugin stopped working well.
I've been browsing the search results for some hours, but no solutions found :(

The mount point is set so:

Source: /mnt/Disk1/Media
Dest: /media (it's inside the jail)

The permissions for the source:
drwxr-xr-x+ 8 Vanyo local 9 Oct 10 21:25 Media/

Transmission runs with the transmission:transmission UID:GID and they don't have write permissions. Can I change the user for the transmission plugin to Vanyo? Tried in the /etc/rc.conf in the jail to set transmission_user="Vanyo" but no effect.
 

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
Try changing the owner of the mount point in the jail to the same UID as the user that owns the mountpoint source outside (NOT the username) and the owner for the GROUP inside the jail to 'transmission'. Then give it 775 permissions.
 

Vanyo

Dabbler
Joined
Oct 2, 2011
Messages
45
I did it, but still Permission denied :(

drwxrwxr-x 8 1001 transmission 9 Oct 10 21:25 media
 

Vanyo

Dabbler
Joined
Oct 2, 2011
Messages
45
Can I somehow change the user for the transmission plugin?
Maybe it can solve this problem.
 

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
That's all it took for me, though my sharing situation might have been different. I'm not sure how to change the transmission user, or if that's even possible, sorry.
 

Vanyo

Dabbler
Joined
Oct 2, 2011
Messages
45
Thanks, ben!

I don't want to give 777 permission to my whole collection, because the server is also open for the outside world.
It would be better to change the user and/or group for the plugin (I managed it somehow in the previous version) but now I can't.
 

robirt55

Cadet
Joined
Jan 8, 2014
Messages
8
Thanks hetz changing the permissions to 921 worked for me!

However why does this work. I don't understand why this allowed the transmission program to write to the folder?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Thanks hetz changing the permissions to 921 worked for me!

However why does this work. I don't understand why this allowed the transmission program to write to the folder?
transmission runs as the user 'transmission' (UID 921) in its jail. by default datasets are 755 permissions which means the owner can write it in but group members and others can only read files. by changing ownership to UID 921 you allow the transmission user in the jail to write in the dataset.
 

Vanyo

Dabbler
Joined
Oct 2, 2011
Messages
45
...or you can change the uid of transmission to your user uid outside the jail.
 
Status
Not open for further replies.
Top