Transmission Permission denied (watchdir.c:354) despite of all rights granted

950 views
Skip to first unread message

Zoltan Kovacs

unread,
Oct 28, 2018, 1:41:35 PM10/28/18
to Alt-F
Hi all,

Some days ago i have to reconfigure the hard disks in my DNS320.
After that I had to recreate all users and folders.
But Transmission stopped working (the daemon can't start) so I deleted Alt-f package and reinstall again.

But Transmission doesn't work. I am always getting error messages like this: "Permission denied (watchdir.c:354)"
I don't understand those messages because Transmission has set the rights for itself.

My Transmission folder is /mnt/md0/p2p

When I check the rights I can see this screen:

If I change the rights to 777 nothing changes.

When the Transmission starts it write these rows to its log file:

[2018-10-28 18:06:03.060] UDP Failed to set receive buffer: requested 4194304, got 327680 (tr-udp.c:84)
[2018-10-28 18:06:03.061] UDP Failed to set send buffer: requested 1048576, got 327680 (tr-udp.c:95)
[2018-10-28 18:06:03.062] watchdir:inotify Failed to setup watchdir "/mnt/md0/p2p": Permission denied (13) (watchdir-inotify.c:176)
[2018-10-28 18:06:03.063] watchdir Failed to open directory "/mnt/md0/p2p" (13): Permission denied (watchdir.c:354)
[2018-10-28 18:06:13.059] watchdir Failed to open directory "/mnt/md0/p2p" (13): Permission denied (watchdir.c:354)

Furthermore I've noticed that Transmission is trying continously to open the affected folder and it write a new error to the file in every 10 seconds.

When I open a .torrent file I can see these rows in the log file: (I've deleted the original folder and file names)

[2018-10-28 18:28:58.059] Couldn't create "/mnt/md0/p2p": Permission denied (file-posix.c:189) [2018-10-28 18:28:58.060] Couldn't create "/mnt/md0/p2p/InProgress/NEW FOLDER TO CREATE": Permission denied (fdlimit.c:171) [2018-10-28 18:28:58.060] NEW FOLDER TO CREATE tr_fdFileCheckout failed for "/mnt/md0/p2p/InProgress/NEW FOLDER TO CREATE/FILE ONE.mkv.part": Permission denied (inout.c:102) [2018-10-28 18:28:58.061] NEW FOLDER TO CREATE Permission denied (/mnt/md0/p2p/Finished/NEW FOLDER TO CREATE/FILE ONE.mkv.part (torrent.c:537) [2018-10-28 18:28:59.061] Couldn't create "/mnt/md0/p2p": Permission denied (file-posix.c:189) [2018-10-28 18:28:59.063] Couldn't create "/mnt/md0/p2p/InProgress/NEW FOLDER TO CREATE": Permission denied (fdlimit.c:171) [2018-10-28 18:28:59.064] NEW FOLDER TO CREATE tr_fdFileCheckout failed for "/mnt/md0/p2p/InProgress/NEW FOLDER TO CREATE/FILE ONE.mkv.part": Permission denied (inout.c:102) [2018-10-28 18:29:03.060] watchdir Failed to open directory "/mnt/md0/p2p" (13): Permission denied (watchdir.c:354) [2018-10-28 18:29:13.060] watchdir Failed to open directory "/mnt/md0/p2p" (13): Permission denied (watchdir.c:354)

Unfortunatly I'm not a linux expert so I can't solve this issue for myself.

Thanx for every help.

(And sorry for my terrible english.)

Paul Wilkie

unread,
Oct 28, 2018, 2:10:15 PM10/28/18
to Alt-F
I’m sure you will get better help from a Linux expert, but in the meantime I noticed that you have only the BT group with any permissions, if you are trying to change the permissions you would need to be logged on as a member of that group, if you aren’t that could explain why nothing happens when you try to change permissions to 777. If you manage to change it to 777 and it then works, it suggests that the username of password you have embedded for Transmission is wrong - again I am not familiar with this so can’t help.

Zoltan Kovacs

unread,
Oct 28, 2018, 2:27:18 PM10/28/18
to al...@googlegroups.com
Dear Paul,

Thank you for the rapid answer.
I can change the rights to 777 but it can't help. The problem remains the same.
Message has been deleted

ScDc

unread,
Oct 29, 2018, 2:12:09 AM10/29/18
to Alt-F
try setting permission on /mnt/md0 to 2775

Zoltan Kovacs

unread,
Oct 29, 2018, 4:01:41 AM10/29/18
to al...@googlegroups.com
Hi ScDc,

It works! Thank you!

--
You received this message because you are subscribed to a topic in the Google Groups "Alt-F" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alt-f/f_WoA6ag_lI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alt-f+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/alt-f.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages