Page 1 of 1

Cannot delete torrent

Posted: Thu Mar 17, 2011 7:22 pm
by thomasps
I can download torrents fine, but cannot delete a downloaded file in the directory
/var/hda/files/torrents
It says "Error removing file: permission denied"
In the file properties, under permissions it says as the owner: "transmission - transmission daemon account"

I tried:
chmod -R 775 /var/hda/files/torrents

but it did not help (same error).
What can I do in order to remove/copy etc downloaded files?

Re: Cannot delete torrent

Posted: Thu Mar 17, 2011 10:07 pm
by radioz
Did you use 'su' first?

i.e: 'su chmod -R 775 /var/hda/files/torrents'

Otherwise it might be an ownership problem.

Re: Cannot delete torrent

Posted: Fri Mar 18, 2011 7:05 am
by thomasps
Did you use 'su' first?

i.e: 'su chmod -R 775 /var/hda/files/torrents'

Otherwise it might be an ownership problem.
Yes I did. I think it is an ownership problem...

Re: Cannot delete torrent

Posted: Fri Mar 18, 2011 10:18 am
by radioz
Ok, how about posting a few entries from: ls -l /var/hda/files/torrents so we can see the owner/group ids?

I'm not familiar with how transmission is supposed to be set up, but it might be that a new group called 'transmission' was added. Perhaps your user needs to be a member of the transmission group?

Re: Cannot delete torrent

Posted: Fri Mar 18, 2011 10:27 am
by thomasps
Ok, how about posting a few entries from: ls -l /var/hda/files/torrents so we can see the owner/group ids?

I'm not familiar with how transmission is supposed to be set up, but it might be that a new group called 'transmission' was added. Perhaps your user needs to be a member of the transmission group?

Code: Select all

ls -l /var/hda/files/torrents total 4 drwxrwxr-x 2 transmission transmission 4096 Mar 17 20:05 Nullsoft Winamp Pro v5. 6.1.3091 + KeyGen(fff) [TrT-TcT]
Or if I use Samba (I have Greyhole):

Code: Select all

ls -l /mnt/samba/Torrents total 0 drwxrwx--- 1 thomas users 0 Mar 17 20:05 Nullsoft Winamp Pro v5.6.1.3091 + KeyGe n(fff) [TrT-TcT]

Re: Cannot delete torrent

Posted: Fri Apr 01, 2011 4:20 am
by moncapitaine
I had the same problem.
On the locally mounted share /mnt/Samba/Transmission the torrent was ownedby the local user.
However, on /var/hda/files/torrents the torrent was owned by user transmission.

Solution:

Code: Select all

chown user torrent
as root in the /var/hda/files/transmission directory.

Then I was able to delete the files with rm.