Transmission 2.92 - Permission denied moving/erasing completed downloads

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
ultradj83
Posts: 12
Joined: Wed May 11, 2016 7:50 am

Transmission 2.92 - Permission denied moving/erasing completed downloads

Post by ultradj83 »

Dears,
I installed Transmission 2.92 a few days ago on my Netgear Stora NAS.

It works, there's just one issue.
Whenever a download is completed and removed it is not possible to move or delete it: permission denied.
Download folder is "/home/0common/Download di torrent", I need to use this to be able to see downloads from computers on the network, just because /home/0common is the folder available to any NAS users.
To be able to move downloaded stuff it I need to do a chmod -R 777 "/home/0common/Download di torrent"; this works for downloaded stuff, but doesn't affect future downloads.

Here's system details:
bash-3.2# cat /etc/*-release
Version 2.0.0.433
DistName hipserv2_netgear
VersionName 2.6.1
bash-3.2# uname -mrs
Linux 2.6.22.18-Netgear armv5tejl


Here's daemon details:
bash-3.2# ps aux
root 1854 1.8 13.5 36992 16996 ? Ssl May09 54:57 /opt/bin/transmission-daemon -g /home//transmission


Here's download folder properties:
bash-3.2# ls -l
drwxrwxrwx 6 federico users 4096 May 10 23:29 Download di torrent
bash-3.2# ls -l "Download di torrent"
total 8
drwxrwxrwx 2 root users 4096 May 8 05:40 stuff1
drwxr-xr-x 8 root root 4096 May 10 23:30 stuff2

where
federico is my NAS user ID
stuff1 is a torrent currently downloading
stuff2 is a torrent completed and removed from GUI


Could anybody suggest how to fix?


Thanks a lot.
ultradj83
Posts: 12
Joined: Wed May 11, 2016 7:50 am

Re: Transmission 2.92 - Permission denied moving/erasing completed downloads

Post by ultradj83 »

Sorry, what you mean?

"transmission" user exists but daemon is launched by root.
Now root is owner of folder "/home/0common/Download di torrent" but problem persists.
Problem persists downloading to other folder, too.


Thanks!
ultradj83
Posts: 12
Joined: Wed May 11, 2016 7:50 am

Re: Transmission 2.92 - Permission denied moving/erasing completed downloads

Post by ultradj83 »

Dears,
any other user I try Transmission fails to load, it works only with root.

Overall I discovered that the problem occours only when a torrent has more than 1 file.
Saving a single file torrent Transmission creates no folder, and I can move or delete the file.
Saving a torrent with more than 1 file it created a folder and I cannot move or delete the folder and any files inside.

I think Trasmission creates folder missing some permissions.
Where can I set this?


Thanks!
ultradj83
Posts: 12
Joined: Wed May 11, 2016 7:50 am

Re: Transmission 2.92 - Permission denied moving/erasing completed downloads

Post by ultradj83 »

Here's the problem:

-bash-3.2# ls -l
total 16
drwxrwsrwx 10 root root 4096 May 12 11:28 Download di torrent
-bash-3.2# cd "Download di torrent"
-bash-3.2# ls -l
total 12
drwxr-sr-x 3 root root 4096 May 12 11:29 Torrentfolder
-bash-3.2# cd Torrentfolder
-bash-3.2# ls -l
total 88572
-rw-r--r-- 1 root root 9016417 May 12 11:29 01 - file1
-rw-r--r-- 1 root root 9889965 May 12 11:29 02 - file2
-rw-r--r-- 1 root root 6914092 May 12 11:29 03 - file3


I sat setgid nit to inherit permissions:
sudo chmod g+s "Download di torrent"

But nothing changed...
ultradj83
Posts: 12
Joined: Wed May 11, 2016 7:50 am

Re: Transmission 2.92 - Permission denied moving/erasing completed downloads

Post by ultradj83 »

Solved.

I think the problem was because it was using an old configuration file.

Just cleaned up everything, sat the setting.json with "umask": 2, and it works.


Thanks everybody!
Post Reply