Can't fix Transmissions 'Permission Denied' Error

gr4ni

Dabbler
Joined
Apr 14, 2019
Messages
10
Hey,

I am new to the FreeNAS System, but I love it already. And I know that this seemes to be a common problem, but I have read over a dozens threads and this thing keeps driving me crazy. I am using FreeNAS-11.2-U3

I don't manage to fix the Permission Denied Error of Transmission.

What I did:

- I installed the Transmission plugin and the jail via the web interface.

- After that I created a dataset "torrent_stuff"

- One group "transmission" and one user "transmission" with UID 921 and GID 921 created

- Changed the owner and group of the new dataset to this new user.

- Mounted the Dataset to the jail:
Screenshot 2019-04-15 at 08.39.01.png


- Then I restarted the jail.

But I still get the permission denied error.

Here's the output of ls -ld: (from jails perspective)
drwxrwxrwx 2 transmission transmission 2 Apr 14 19:55 /media/torrent_stuff

Output of ps aux: (to check if transmission is running as transmission user)
transmission 18967 0.0 0.3 35152 20964 - SsJ 07:59 0:00.79 /usr/local/bin/transmission-daemon -g /usr/local/etc/transmi
root 19391 0.0 0.0 6704 2680 1 S+ 08:05 0:00.00 grep transmission


It doesn't even work in the standard download directory:
Screenshot 2019-04-15 at 08.50.42.png

Screenshot 2019-04-15 at 08.49.36.png

So maybe I did something fundamentally wrong.

I hope so that someone can tell me what I am missing. Because I cant figure it out.

Thanks for reading!
 
Last edited:

gr4ni

Dabbler
Joined
Apr 14, 2019
Messages
10
I SOLVED IT:

I've already doubted my mind.

The problem was the following: The incomplete-dir referred to a directory in which the transmission user had no rights. That's changed now and I'm ready to go.

So for all newcomers, who come across this thread, again summarized:

1) Install Transmission Plugin
2) Create group "transmission" with ID 921
3) User "transmission" with ID 921
4) assign the directory to the desired dataset/ folder of this group and user (either via GUI or SSH with: chown 921:921/directory)
5) mount the dataset to the jail as storage via WebGUI

And read this: https://www.ixsystems.com/community...plugins-write-permissions-to-your-data.27273/

e: I don't know how to mark a Thread as solved. So maybe some moderator admin can do this, thanks!
 

Enmity

Cadet
Joined
Aug 1, 2012
Messages
1
Yet another one having the dreaded "Error: Permission denied" problem.

Well written guide:

I followed the guide linked above and chose the group write solution.
On Host:
1. Created user transmission with uid of 921.
2. added transmission user to staff group (gid of 20)
3. modified dataset to mod of 775 recursive, owned by user and group of "staff"

In jail:
1. edited rc.conf
"""
transmission_enable="YES"
transmission_group="staff"
transmission_chown="no"
transmission_download_dir="/media/Downloads"
"""
2. checked groups, had existing staff group with gid of 20 already
3. added transmission user to staff group
4. rebooted plugin/jail to update environment variables

Still getting Permission Denied error after 8 hours of googling. Even tried mod 777 on dataset with no luck. I am not sure what I can have overlooked.
 
Top