Hi all, 'Using Samba' (and it's companion 'Pocket Reference') both say that the default for the 'writable' option in smb.conf is 'YES'. But, http://ie.samba.org/samba/docs/man/smb.conf.5.html says the default is 'no'. Which is right? Mac Assistant Systems Adminstrator @nibsc.ac.uk dmccann@nibsc.ac.uk Work: +44 1707 641000 x285 Everything else: +44 7956 237670 (anytime)
Mac wrote:> > Hi all, > > 'Using Samba' (and it's companion 'Pocket Reference') both say > that the default for the 'writable' option in smb.conf is 'YES'. > > But, http://ie.samba.org/samba/docs/man/smb.conf.5.html says the default > is 'no'. Which is right? >You can run the following command to find the defaults. testparm -s /dev/null writable is actually a misspelled synonym for writeable which in turn is an inverted synonym for read only (the man page says that "read only" is the synonym and writeable is the actual parameter but this is wrong). The default for "read only" is yes which makes the default for writable no.> testparm -s /dev/null | grep "read only"read only = Yes -- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================
On Tue, 1 Oct 2002, Mac wrote:> Hi all, > > 'Using Samba' (and it's companion 'Pocket Reference') both say > that the default for the 'writable' option in smb.conf is 'YES'. > > But, http://ie.samba.org/samba/docs/man/smb.conf.5.html says the default > is 'no'. Which is right?The man page. From param/loadparm.c True, /* bRead_only */ cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "SAMS Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--