Exactly. It's a Lubuntu 14.04 box and the automounter does this to the data0 device.boise wrote:I'm no Linux expert, but I'm guessing that /media/gh2425/data0 is the mount point for the device and "transm" is a directory in the root of that device?
So I thought.boise wrote:From the ls -l listing you included, the device is obviously mounted, and the permissions allow anyone to write there.
I deleted the torrent, ran sudo service transmission-daemon stop, ran sudo service transmission-daemon start and loaded the file openSUSE-13.1-DVD-i586.iso.torrent again. Same result.boise wrote:
- The device has been mounted after that you got the error from Transmission.
That's it. Specificallyboise wrote:[*]The creation of the file fails, not because of the permissions on the specific directory (.../incomplete), but because lack of permissions on another directory in the path to it. For example on /media/gh2425/data0/transm[/list]
Code: Select all
:~$ ls -ld /media/gh2425/
drwxr-x-w-+ 3 root root 4096 Sep 20 16:30 /media/gh2425/
turns out it doesn't help if debian-transmission can create files in the directory, if it can not go there in the first place.
I changed this to
Code: Select all
:~$ sudo chmod -v o+x /media/gh2425/
der Modus von »/media/gh2425/“ wurde von 0752 (rwxr-x-w-) in 0753 (rwxr-x-wx) geändert
:~$ ls -ld /media/gh2425
drwxr-x-wx+ 3 root root 4096 Sep 20 16:30 /media/gh2425
I was misled, because I was able to create files in /media/gh2425/data0/transm/incomplete, as is suggested by creating an deleting a testfile like this
Code: Select all
cd /media/gh2425/data0/transm/incomplete/
:/media/gh2425/data0/transm/incomplete$ sudo su -m debian-transmission
:/media/gh2425/data0/transm/incomplete$ whoami
debian-transmission
:/media/gh2425/data0/transm/incomplete$ ls -alF
insgesamt 8
drwxrwxrwx 2 debian-transmission debian-transmission 4096 Jul 22 08:56 ./
drwxrwxrwx 5 debian-transmission debian-transmission 4096 Sep 19 16:43 ../
:/media/gh2425/data0/transm/incomplete$ touch atestfile
:/media/gh2425/data0/transm/incomplete$ ls -alF
insgesamt 8
drwxrwxrwx 2 debian-transmission debian-transmission 4096 Sep 20 16:49 ./
drwxrwxrwx 5 debian-transmission debian-transmission 4096 Sep 19 16:43 ../
-rw-rw-r-- 1 debian-transmission debian-transmission 0 Sep 20 16:49 atestfile
:/media/gh2425/data0/transm/incomplete$ rm atestfile
:/media/gh2425/data0/transm/incomplete$ ls -alF
insgesamt 8
drwxrwxrwx 2 debian-transmission debian-transmission 4096 Sep 20 16:49 ./
drwxrwxrwx 5 debian-transmission debian-transmission 4096 Sep 19 16:43 ../
Thanks a bundle
