well i've tried everything trying to get r/w access to my linux box (debian 2.2.3 running samba 2.0.7) from win2k. can only get readonly. i'm hoping some kind sould might be able to take a look at my samba config and let me know what i'm doing wrong... # Samba config file created using SWAT # from localhost (127.0.0.1) # Date: 2001/11/01 00:39:30 # Global parameters [global] server string = Samba Server Mr. Meow Meow security = SHARE encrypt passwords = Yes update encrypted = Yes max log size = 50 preferred master = Yes dns proxy = No guest account = rory hosts allow = 192.168.0. printing = lprng [homes] comment = Home Directories path = %H/Public valid users = %S writeable = Yes inherit permissions = Yes guest ok = Yes only user = Yes [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [public] comment = Public Stuff path = /home/rory write list = @users writeable = Yes guest ok = Yes [mp3] path = /home/rory/mp3 writeable = Yes inherit permissions = Yes guest ok = Yes [epson] comment = epson stylus photo 1200 path = /var/spool/samba writeable = Yes create mask = 0700 guest ok = Yes printable = Yes printer = epson printer driver = epson printer driver location = /etc/webmin/lpadmin/drivers/epson oplocks = No share modes = No [rory] path = /home/rory writeable = Yes guest ok = Yes [mp32] path = /home/rory/mp3b writeable = Yes inherit permissions = Yes guest ok = Yes locking = No
Rory, Look like you are using Swat for your configuration: Try to add create mask = 0755, directory security mask = 0755 In the global section. I hope this help. Vinh -----Original Message----- From: Rory O'Connor [mailto:midget@elaris.com] Sent: Thursday, November 01, 2001 1:42 AM To: samba@samba.org Subject: readonly - can't change well i've tried everything trying to get r/w access to my linux box (debian 2.2.3 running samba 2.0.7) from win2k. can only get readonly. i'm hoping some kind sould might be able to take a look at my samba config and let me know what i'm doing wrong... # Samba config file created using SWAT # from localhost (127.0.0.1) # Date: 2001/11/01 00:39:30 # Global parameters [global] server string = Samba Server Mr. Meow Meow security = SHARE encrypt passwords = Yes update encrypted = Yes max log size = 50 preferred master = Yes dns proxy = No guest account = rory hosts allow = 192.168.0. printing = lprng [homes] comment = Home Directories path = %H/Public valid users = %S writeable = Yes inherit permissions = Yes guest ok = Yes only user = Yes [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [public] comment = Public Stuff path = /home/rory write list = @users writeable = Yes guest ok = Yes [mp3] path = /home/rory/mp3 writeable = Yes inherit permissions = Yes guest ok = Yes [epson] comment = epson stylus photo 1200 path = /var/spool/samba writeable = Yes create mask = 0700 guest ok = Yes printable = Yes printer = epson printer driver = epson printer driver location = /etc/webmin/lpadmin/drivers/epson oplocks = No share modes = No [rory] path = /home/rory writeable = Yes guest ok = Yes [mp32] path = /home/rory/mp3b writeable = Yes inherit permissions = Yes guest ok = Yes locking = No -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
First and foremost, are the permissions of the directories you're trying to share set so that others can write to them? And is it really good to use your personal account as the guest account if others are accessing the server? Also, why have a public share and the rory share if they point to the same path and share the same permissions? Anyway, try this: # Samba config file created using SWAT # from localhost (127.0.0.1) # Date: 2001/11/01 00:39:30 # Global parameters [global] server string = Samba Server Mr. Meow Meow security = SHARE encrypt passwords = Yes max log size = 50 preferred master = Yes dns proxy = No guest account = rory admin users = rory <makes anyone who comes in using this account act as root> default service = public <anyone who connects will get access here> hosts allow = 192.168.0. printing = lprng [homes] comment = Home Directories path = %H/Public writeable = Yes guest ok = Yes [public] comment = Public Stuff path = /home/rory writeable = Yes guest ok = Yes [mp3] path = /home/rory/mp3 writeable = Yes guest ok = Yes [mp32] path = /home/rory/mp3b writeable = Yes guest ok = Yes [epson] comment = epson stylus photo 1200 path = /var/spool/samba writeable = Yes create mask = 0700 guest ok = Yes printable = Yes printer = epson printer driver = epson printer driver location = /etc/webmin/lpadmin/drivers/epson oplocks = No share modes = No -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2254 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20011101/cb63fd85/smime.bin
thanks for your help. I know my smb.conf file doesn't make a world of sense, but I was pulling out all the stops to try to get some kind of r/w access to my linux box. I tried your edited file, and changing the masks to 0755, but still to no avail - can only get readonly access. the user on my win2k box is the same user/pass as the linux box, but could it be something to do with the password encryption? has anyone else had trouble trying to get r/w access from win2k to linux thru samba 2.0.7? any help is appreciated! rory On Thu, 01 Nov 2001 07:38:39 Donald Grayson wrote:> First and foremost, are the permissions of the directories you're trying > to share set so that others can write to them? And is it really good to > use your personal account as the guest account if others are accessing the > server? > > Also, why have a public share and the rory share if they point to the same > path and share the same permissions? > > Anyway, try this: > > # Samba config file created using SWAT > # from localhost (127.0.0.1) > # Date: 2001/11/01 00:39:30 > > # Global parameters > [global] > server string = Samba Server Mr. Meow Meow > security = SHARE > encrypt passwords = Yes > max log size = 50 > preferred master = Yes > dns proxy = No > guest account = rory > admin users = rory <makes anyone who comes in using this account act as > root> > default service = public <anyone who connects will get access here> > hosts allow = 192.168.0. > printing = lprng > > [homes] > comment = Home Directories > path = %H/Public > writeable = Yes > guest ok = Yes > > [public] > comment = Public Stuff > path = /home/rory > writeable = Yes > guest ok = Yes > > [mp3] > path = /home/rory/mp3 > writeable = Yes > guest ok = Yes > > [mp32] > path = /home/rory/mp3b > writeable = Yes > guest ok = Yes > > [epson] > comment = epson stylus photo 1200 > path = /var/spool/samba > writeable = Yes > create mask = 0700 > guest ok = Yes > printable = Yes > printer = epson > printer driver = epson > printer driver location = /etc/webmin/lpadmin/drivers/epson > oplocks = No > share modes = No >