I have a headless torrent client (Transmission) which downloads files into
/home/username/downloads with the username
debian-transmission, in the group
I've added the account
username to the group
debian-transmission (it's also in the group
username), and chmodded the
/home/username/downloads folder recursively to
770, but I still can't delete anything when logged in with the
username account. The umask set on downloaded files by Transmission is 18, so I don't know if that has something to do with it. Regardless, I chmodded the files manually post-download.
ls -lad /home/username/downloads gives
drwxrwx--- 38 username debian-transmission 4096 2012-04-19 11:39 /home/username/downloads
ls -la /home/username/downloads/<a file in this folder that won't delete> gives
ls: cannot open directory /home/username/downloads/<a file in this folder that won't delete>/: Permission denied
I had a look at Why can't I delete a file where I have group write permissions on? but the answer wasn't particularly helpful.
I thought I had got my head round *nix permissions, but obviously not!