Quoting Chris Carr (ranting...@gmail.com): > Package: samba > Version: 2:3.3.3-1 > Severity: normal > > > I'm still getting this behaviour: > > chr...@junior:~$ cp /etc/fstab fstab.copy > chr...@junior:~$ ll fstab.copy > -rw-r--r-- 1 chrisc chrisc 769 2009-04-16 21:49 fstab.copy > chr...@junior:~$ mv fstab.copy workspace/ > mv: setting permissions for `workspace/fstab.copy': Permission denied > chr...@junior:~$ ll workspace/fstab.copy > -rwx------ 1 chrisc chrisc 769 2009-04-16 21:49 workspace/fstab.copy* > chr...@junior:~$ > > I attach fstab.copy (with passwords munged), and the server's smb.conf > > Am I doing something stupid here?
What version of Debian is running on the *server* (ie the machne where you mount workspace from)? Can you try to reproduce this by mounting a ressource from your local machineĀ ? I can't reproduce this in such case (Debian sid machine, kernel 2.6.28, samba 2:3.3.3-1): r...@mykerinos:~# cat /etc/samba/smb.conf [global] load printers = no workgroup = DRIS security = user map to guest = Bad User printing = cups [homes] directory mask=0700 browseable=no comment=Home Directories read only=no create mask=0770 [share] directory mask=0700 browseable=yes comment=Public read only=no create mask=0770 public=yes path=/var/tmp/samba-test r...@mykerinos:~# mount -t cifs -o user=bubulle //127.0.0.1/share /mnt Password: r...@mykerinos:~# su - bubulle bubu...@mykerinos:~> echo test >tmp/foo bubu...@mykerinos:~> ls -l tmp/foo -rw-rw-r-- 1 bubulle bubulle 5 avr 17 07:58 tmp/foo bubu...@mykerinos:~> cp -p tmp/foo /mnt bubu...@mykerinos:~> ls -la /mnt total 5 drwxrwxrwx 2 bubulle bikinibottom 0 avr 17 07:58 . drwxr-xr-x 27 root root 1024 avr 14 07:31 .. -rw-rw-r-- 1 bubulle bubulle 5 avr 17 07:58 foo bubu...@mykerinos:~> rm /mnt/foo bubu...@mykerinos:~> mv tmp/foo /mnt/foo bubu...@mykerinos:~> ls -la /mnt total 5 drwxrwxrwx 2 bubulle bikinibottom 0 avr 17 07:58 . drwxr-xr-x 27 root root 1024 avr 14 07:31 .. -rw-rw-r-- 1 bubulle bubulle 5 avr 17 07:58 foo
signature.asc
Description: Digital signature