[Samba] mv errors.

Athunye Athunye at gmail.com
Thu Jan 29 21:49:33 GMT 2009


On the server:

$ ls -l /mnt/
drwxrwxr-x 2 root docs    4096 2009-01-29 19:11 docs

$ groups smbuser
smbuser: smbuser docs


On the Linux client:

$ whoami 
debuser

$ ls -l /mnt/
dr-xrwxr-x 2 root    docs     4096 2009-01-29 10:49 docs

$ groups debuser
debuser : debuser dialout cdrom floppy audio video plugdev share arquivos
docs

Now see this:

$ mount /mnt/docs/
(no errors)

$ pwd
/home/debuser

$ touch test.txt
$ cp test.txt /mnt/docs/
(no errors)

$ touch test2.txt
$ mv test2.txt /mnt/docs/
mv: preserving times for `/mnt/docs/test2.txt': Operation not permitted
mv: setting permissions for `/mnt/docs/test2.txt': Operation not permitted

Since I'm moving a file I created myselfe, it must not be "permission to
delete the original".

And finaly, see this:

$ cd /mnt/docs/
$ pwd 
/mnt/docs
$ touch
$ echo "test" > test3.txt
(no errors)

$ touch test4.txt
touch: setting times of `test4.txt': Permission denied

I can't understand what is going on...
-- 
View this message in context: http://www.nabble.com/mv-errors.-tp21712791p21736641.html
Sent from the Samba - General mailing list archive at Nabble.com.



More information about the samba mailing list