[Samba] Re: Share reversal

Harvey, Barry bharvey at dpw.sbcounty.gov
Wed Dec 29 19:13:23 GMT 2004


Hello group, 

 

I have setup 3 simple shares from *nix with 3 Windoze clients. The shares
work perfect when first created, however, after 10~15 minutes of usage the
shares are returned to their default permissions and the clients lose their
ability to connect to the shares. I did an ls -l on the shares and noticed
that their permissions changed after the time with no user or administrator
interaction.  Currently, I am using Mandrake Linux 10.1 (download edition)
and Samba version (3.0.7). Again, thank you for all or any of your help. And
I apologize for the incomplete posting from earlier.

 

 

Example:

 

 

 

Before

 

dwrdwr---           MP3     MP3

 

dwrxwr--            FOO     FOO

 

 

 

After 10~15 minutes

 

dwr------             MP3     MP3

 

dwr------             FOO     FOO

 

-------------- next part --------------
[global]

 

   workgroup = MSHOME

 

   server string = MSHOME Server

 

 

   printcap name = cups

   load printers = yes

 

 

   printing = cups

 

 

   log file = /var/log/samba/log.%m

 

   max log size = 50

 

  map to guest = bad user

 

  encrypt passwords = yes

  smb passwd file = /etc/samba/smbpasswd

 

  dns proxy = no 

 

 

 

#============================ Share Definitions ============================== 

[homes]

   comment = Home Directories

   browseable = no

   writable = yes

[MP3]

   path = /home/MP3

   comment = MP3 Share

   browseable = yes

   writable = yes

   create mode = 744

   directory mask = 750

[Software]

   path = /home/SOFTWARE

   comment = Software Share

   browseable = yes

   writable = yes

[SHARED_FILES]

   path = /home/SHARED_FILES

   comment = Share Files

   browseable = yes

   writable = yes

   create mode = 777

   directory mask = 777

 

 

[printers]

   comment = All Printers

   path = /var/spool/samba

   browseable = no

 

   guest ok = yes

   writable = no

   printable = yes

   create mode = 0700

 

 

[pdf-gen]

   path = /var/tmp

   guest ok = No

   printable = Yes

   comment = PDF Generator (only valid users)

   printing = bsd

   printcap name = cups

   #print command = /usr/share/samba/scripts/print-pdf

file path win_path recipient IP &

   print command = /usr/share/samba/scripts/print-pdf

"%s" "%H" "//%L/%u" "%m" "%I" "%J" &

    lpq command = /bin/true


More information about the samba mailing list