r10979: After discussions on IRC about profile shares,
commita1eb5255042c3ff246e27a3cd3cdfd869c5542d3
authorJeremy Allison <jra@samba.org>
Fri, 14 Oct 2005 01:09:37 +0000 (14 01:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:04:59 +0000 (10 11:04 -0500)
treed3bc22ba07ca4b99d07d23eb7bc4d3e00dfef02c
parentca0a4c8c68c5b2ed1d6ef0e524500fba77ef4b3c
r10979: After discussions on IRC about profile shares,
added new parameter : map readonly = [yes|no|permissions]
If yes: map inverse of user "w" bit to mean readonly.
If no: never set DOS readonly bit.
If permissions: check file permissions for user and set readonly
bit if the current user cannot write.
If store dos attributes is set to yes then this parameter
is ignored.
Jeremy.
(This used to be commit da4238d18c7a57d1264db8517fb027a10a11baed)
source3/include/smb.h
source3/param/loadparm.c
source3/smbd/dosmode.c