strange permission problem

Zheng Liu liu at TI.FhG.DE
Thu Feb 22 08:34:40 GMT 2001

I have suddenly a very strange permission probelm with the shares.
No matter what the read permissions in Linux are, ANY user can read 
EVERY file in a share.  For example I have a shere:
   comment = pictures from spy cam
   path = /export/spycam
   public = yes
   create mask = 0660
   directory mask = 0770
   read list = @smbadm
   force group = smbadm

and the directory /export/spycam has permission mode:

drwxrwx---   3 root     smbadm       4096 Sep 19 10:06 /export/spycam/

And it STILL lets everyone read all the files in this directory.  It
seem to matter who I log into the domain as, if they are a valid
username under Linux, it lets them into the share, and then lets them
read all the files.  The permissions also work fine from within the
Linux environment (no surprise.)  So samba is using its root-ness to
allow the files to be delivered to any user.  Please let me know what
I can do or try, this is really scary... Hier is global section of my

   workgroup = MYDOMAIN
   guest account = nobody
   keep alive = 30
   os level = 65
   kernel oplocks = false
   security = user
   socket options = TCP_NODELAY
   map to guest = Bad User

More information about the samba mailing list