[Samba] How to forbid directory creation

John H Terpstra jht at samba.org
Thu Sep 23 18:00:54 GMT 2004

On Thursday 23 September 2004 11:44, Patrick.Bardy at alcatel.fr wrote:
> Bonjour ,
> We have installed linux suse professional  and we would like to share an
> linux files tree like
> root
>  I____dir1
>  I____dir2
>            I__dir3
> With a population of PC Microsolt WINDOW XP .We though to use samba for
> this purpose but we would like to keep this files organization and  to
> forbid directory creation . Population  of PC Microsolt WINDOW XP could
> create files under dir1 dir2 dir3  but could not create directories .
> Do you think  SAMBA can do it ?

Sure. No problem. Just write your own VFS module to control this.

- John T.
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.

More information about the samba mailing list