[Samba] default for 'writeable ='

Herb Lewis herb at sgi.com
Tue Oct 1 17:59:01 GMT 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?
> 


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 at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
======================================================================



More information about the samba mailing list