Samba Doubts

Craig White craigwhite at azapple.com
Thu Feb 23 17:07:45 UTC 2006


On Thu, 2006-02-23 at 13:40 -0300, Thiago Amaury Ferraz wrote:
> Hello All! I would like to ask if someone knows how to block directory
> creation in a samba resource.. or be, I need that my users create files..
> but I can't permit that they create directories.. another doubt is if is
> possible to block users create file with blank spaces in the name..
> 
> Well, I really thanks any help, suggest.. my fingers are hurting of so many
> tests.. I already realized..
> Tamauryf
----
don't know of a way you can stop users from creating directories if they
can create files. You could probably devise a cron script that locates
any directories within a specific path and delete them though.

I would guess that you can prevent them from creating files with spaces
in them by using 'veto files = /* */' within a share or in the general
section if you want it system wide. Seems a bit drastic.

see man smb.conf

Craig




More information about the fedora-list mailing list