Can you explain these permission issues?
Hi all
Running Transmission on Headless Server with SAMBA.
Transmission currently writing to a SAMBA folder (media\data\Torrents\Complete) using username debian-transmission. This works fine.
Samba user is richard. richard has been added to the debian-transmission group. debian-transmission and richard have both been added to the SAMBA group media-data.
richard can mv (move) FILES from the Torrents folder to \media\data\~Incoming\ folder, but cannot mv FOLDERS to the \media\data\~Incoming folder.
See directory print below:
richard@ubuntu:/media/data/Torrents/Complete$ ls -l
drwxr-xr-x 2 debian-transmission debian-transmission 4096 2010-12-01 23:04 test
-rwxr-xr-x 1 debian-transmission debian-transmission 5007312 2010-12-01 18:24 test.zip
richard@ubuntu:/media/data/Torrents/Complete$ mv -v test/ ../../~Incoming/
mv: cannot move `test/' to `../../~Incoming/test': Permission denied
richard@ubuntu:/media/data/Torrents/Complete$ mv test.zip ../../~Incoming/
richard@ubuntu:/media/data/Torrents/Complete$
richard@ubuntu:/media/data/Torrents/Complete$ ls -l ../../~Incoming/
total 4892
-rwxr-xr-x 1 debian-transmission debian-transmission 5007312 2010-12-01 18:24 test.zip
richard@ubuntu:/media/data/Torrents/Complete$
Any ideas? The permissions for user and group and exactly the same for both file and folder, so why can I move a file, but not a folder?
This is also only for folders that are created by the debian-transmission user.
Samba config is:
[Data]
path = /media/data/
browseable = yes
read only = no
guest ok = no
create mask = 0644
directory mask = 0755
force user = richard
force group = media-data
Hmmmm....now that I think about this more....my Samba permissions should probably be: directory-mask = 0777
Is that right?
First with the Head,
Then with the Heart!
- Power of One
Bookmarks