watchdir Failed to open directory

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
ppucci
Posts: 5
Joined: Fri Aug 21, 2015 2:56 am

watchdir Failed to open directory

Postby ppucci » Mon Nov 13, 2017 3:29 pm

Hi all,

I've been trying to get my transmission-daemon to auto-load .torrent files from "/home/ppucci/Dropbox/Torrents". Here it is how it looks like:

Code: Select all

ppucci@phoenix:~$ ls -la /home/ppucci/Dropbox/ | grep Torrents
drwxrwxr-x+  2 ppucci ppucci     4096 nov 13 12:22 Torrents


My transmission-daemon is running from the debian-transmission user:

Code: Select all

ppucci@phoenix:~$ sudo systemctl status transmission-daemon.service
● transmission-daemon.service - Transmission BitTorrent Daemon
   Loaded: loaded (/lib/systemd/system/transmission-daemon.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2017-11-13 12:21:25 -02; 1h 1min ago
  Process: 5582 ExecStop=/bin/kill -s STOP $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 5589 (transmission-da)
   Status: "Idle."
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/transmission-daemon.service
           └─5589 /usr/bin/transmission-daemon -f --log-error

ppucci@phoenix:~$ ps -u -p 5589
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
debian-+  5589  0.0  0.0 281872  8520 ?        Ssl  12:21   0:01 /usr/bin/transmission-daemon -f --log-error


ppucci@phoenix:~$ more /etc/passwd | grep deb
debian-transmission:x:123:130::/var/lib/transmission-daemon:/bin/false
ppucci@phoenix:~$


The user debian-transmission is member of my user's group (ppucci) and my user is member of the debian-transmission group

Code: Select all

transmission:x:1001:
ppucci@phoenix:~$ more /etc/group | grep debian
ppucci:x:1000:debian-transmission,ppucci,transmission
debian-transmission:x:130:ppucci,transmission,debian-transmission
ppucci@phoenix:~$


But still, my transmission-daemon is unable to read from the watch folder

Code: Select all

ppucci@phoenix:~$ sudo systemctl status transmission-daemon.service
● transmission-daemon.service - Transmission BitTorrent Daemon
   Loaded: loaded (/lib/systemd/system/transmission-daemon.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2017-11-13 12:21:25 -02; 1h 5min ago
  Process: 5582 ExecStop=/bin/kill -s STOP $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 5589 (transmission-da)
   Status: "Idle."
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/transmission-daemon.service
           └─5589 /usr/bin/transmission-daemon -f --log-error

nov 13 13:24:55 phoenix transmission-daemon[5589]: [2017-11-13 13:24:55.380] watchdir Failed to open directory "/home/ppucci/Dropbox/Torrents" (13): Permission denied (watchdir.c:354
nov 13 13:25:05 phoenix transmission-daemon[5589]: [2017-11-13 13:25:05.384] watchdir Failed to open directory "/home/ppucci/Dropbox/Torrents" (13): Permission denied (watchdir.c:354
nov 13 13:25:15 phoenix transmission-daemon[5589]: [2017-11-13 13:25:15.383] watchdir Failed to open directory "/home/ppucci/Dropbox/Torrents" (13): Permission denied (watchdir.c:354
nov 13 13:25:25 phoenix transmission-daemon[5589]: [2017-11-13 13:25:25.380] watchdir Failed to open directory "/home/ppucci/Dropbox/Torrents" (13): Permission denied (watchdir.c:354
nov 13 13:25:35 phoenix transmission-daemon[5589]: [2017-11-13 13:25:35.384] watchdir Failed to open directory "/home/ppucci/Dropbox/Torrents" (13): Permission denied (watchdir.c:354
nov 13 13:25:45 phoenix transmission-daemon[5589]: [2017-11-13 13:25:45.381] watchdir Failed to open directory "/home/ppucci/Dropbox/Torrents" (13): Permission denied (watchdir.c:354
nov 13 13:25:55 phoenix transmission-daemon[5589]: [2017-11-13 13:25:55.381] watchdir Failed to open directory "/home/ppucci/Dropbox/Torrents" (13): Permission denied (watchdir.c:354
nov 13 13:26:05 phoenix transmission-daemon[5589]: [2017-11-13 13:26:05.381] watchdir Failed to open directory "/home/ppucci/Dropbox/Torrents" (13): Permission denied (watchdir.c:354
nov 13 13:26:15 phoenix transmission-daemon[5589]: [2017-11-13 13:26:15.382] watchdir Failed to open directory "/home/ppucci/Dropbox/Torrents" (13): Permission denied (watchdir.c:354
nov 13 13:26:25 phoenix transmission-daemon[5589]: [2017-11-13 13:26:25.384] watchdir Failed to open directory "/home/ppucci/Dropbox/Torrents" (13): Permission denied (watchdir.c:354
~


Anybody can point me what am I missing? The idea is to have it look on this Dropbox folder so I can just save .torrent files from anywhere, even my phone, into that folder and have my server download it for me

Return to “Support”