Author Topic: Make transmission save its files to a samba share  (Read 3352 times)

Laurent Dinclaux

  • Zen Monk
  • **
  • Posts: 83
  • Karma: +5/-0
    • View Profile
    • Gecka
Make transmission save its files to a samba share
« on: October 25, 2012, 09:05:46 am »
Hello,

I use transmission-daemon to download torrent files. It normally saves its files to /var/lib/transmission. It runs as debian-transmission:debian-transmission. I can set a umask in the settings. For now any file create by trnasmission have this permissions set:

drwxr-xr-x  debian-transmission debian-transmission


I created a debian-transmission group in Zentyal and gave permissions to that group to /home/samba/shares/downloads that I set up as a samba share.

But it seems transmission isn't able to save its files there, it gets a permission denied.

How could I solve that?

Regards

Laurent

ichat

  • Zen Hero
  • *****
  • Posts: 795
  • Karma: +28/-16
  • RTFM!
    • View Profile
Re: Make transmission save its files to a samba share
« Reply #1 on: October 25, 2012, 01:08:44 pm »
your trying to do ldap groups,  rather than system groups...
 remove the  ldap group ... and instead,  use the cli to  chown the folder, 

or install pam,  than create a  user call torrent,  (in zentyal)  and  change your transmission to run under that user...
All tips hints and advices are based on my personal experience.
As I try my best to be as accurate as possible, following my advice is always at your own risk,
I claim absolutely NO responsibility in any way!