[Pkg-samba-maint] Bug#501678: Bug#501678: samba: Problem still occurs in 2:3.3.3-1

Christian Perrier bubulle at debian.org
Fri Apr 17 05:59:50 UTC 2009


Quoting Chris Carr (rantingman at gmail.com):
> Package: samba
> Version: 2:3.3.3-1
> Severity: normal
> 
> 
> I'm still getting this behaviour:
> 
> chrisc at junior:~$ cp /etc/fstab fstab.copy
> chrisc at junior:~$ ll fstab.copy 
> -rw-r--r-- 1 chrisc chrisc 769 2009-04-16 21:49 fstab.copy
> chrisc at junior:~$ mv fstab.copy workspace/
> mv: setting permissions for `workspace/fstab.copy': Permission denied
> chrisc at junior:~$ ll workspace/fstab.copy 
> -rwx------ 1 chrisc chrisc 769 2009-04-16 21:49 workspace/fstab.copy*
> chrisc at 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):

root at 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

root at mykerinos:~# mount -t cifs -o user=bubulle //127.0.0.1/share /mnt
Password:
root at mykerinos:~# su - bubulle
bubulle at mykerinos:~> echo test >tmp/foo
bubulle at mykerinos:~> ls -l tmp/foo
-rw-rw-r-- 1 bubulle bubulle 5 avr 17 07:58 tmp/foo
bubulle at mykerinos:~> cp -p tmp/foo /mnt
bubulle at 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
bubulle at mykerinos:~> rm /mnt/foo
bubulle at mykerinos:~> mv tmp/foo /mnt/foo
bubulle at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090417/a9dce6e4/attachment-0001.pgp>


More information about the Pkg-samba-maint mailing list