Transmission Storage Setup & Permissions

Status
Not open for further replies.

noodlesuk

Dabbler
Joined
Sep 17, 2014
Messages
14
Hi All

I'm struggling to setup the storage and permissions for the Transmission plugin. I have followed this guide here

View: https://www.youtube.com/watch?v=Wp_pW-8Laro


It seems to be for an older version of FreeNAS, but thought the basic priniciples would be the same.

So I've setup a ZFS data set /mnt/transmission - (User - noodles / Group - wheel)

The 'jexec' command shown in the tutorial video doesn't seem to work in the main shell, It just echo's the correct usage. So instead I tried to execute the commands using the tranmission jail shell, is this correct?

I've then done the following at the transmission shell

mkdir /media/downloads
chown 1001:transmission /media/downloads

This works fine, but trying

chmod 775 /media/downloads

gives the following error

root@transmission_1:/ # chmod 775 /media/downloads
chmod: /media/downloads: Operation not permitted

Any help greatly appreciated.
 

mynas

Cadet
Joined
Oct 9, 2014
Messages
1
after struggling with this for many many days....i found the solution and here's what i followed...
  • identify the transmission jail id with
    jls
    /usr/pbi/transmission-i386/etc/transmission/home

    http://download.freenas.org/plugins/9/x32/pbi-meta/pbi-repo.rpo

    create user with
    uid=921(transmission) gid=921(transmission) groups=921(transmission),0(wheel)

    mount the windows share as transmission user
    mount_smbfs -N -I 16.23.1.124 -u 921 -g 921 //16.23.1.124/sea_1tb /mnt/sea

  • enter jail shell jexec <<1>> tcsh
  • now identify the user and grp id of the user transmisison (id transmission)
  • Outside the jail create user with same uid=921(transmission) gid=921(transmission) groups=921(transmission),
  • mount the windows / smb share as the same uid as above
    mount_smbfs -N -I -u 921 -g 921 <<share>> <<mountpoint>>

  • now follow the other jail instructions to add storage to this mount point inside the jail
hope this helps and i'm running freenas 9218
 
Status
Not open for further replies.
Top