Cannot delete torrent

thomasps
Posts: 138
Joined: Fri Feb 18, 2011 1:49 pm

Cannot delete torrent

Postby thomasps » Thu Mar 17, 2011 7:22 pm

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?

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Cannot delete torrent

Postby radioz » Thu Mar 17, 2011 10:07 pm

Did you use 'su' first?

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

Otherwise it might be an ownership problem.

thomasps
Posts: 138
Joined: Fri Feb 18, 2011 1:49 pm

Re: Cannot delete torrent

Postby thomasps » Fri Mar 18, 2011 7:05 am

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...

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Cannot delete torrent

Postby radioz » Fri Mar 18, 2011 10:18 am

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?

thomasps
Posts: 138
Joined: Fri Feb 18, 2011 1:49 pm

Re: Cannot delete torrent

Postby thomasps » Fri Mar 18, 2011 10:27 am

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]

moncapitaine
Posts: 39
Joined: Fri Jun 11, 2010 3:40 am
Location: East Germany

Re: Cannot delete torrent

Postby moncapitaine » Fri Apr 01, 2011 4:20 am

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.
Celeron G530, 8GB RAM, Intel SDD 80GB system, 8TB Storage. Fileserver and Mediaserver.

Who is online

Users browsing this forum: No registered users and 25 guests