[Samba] Preventing deletion of folders under a SAMBA share

Tony Earnshaw tonye at billy.demon.nl
Fri Feb 4 13:21:55 GMT 2005


Stuart Callender:

> Thanks for the reply.  I thought this too, but no matter what
> permissions I give for existing folders via Unix permissions (even tried
> sticky bits), or via the directory mask and force directory mode, the
> folders can still be deleted.
>
> Windows 2000 sees the folders as read only, but allows you to delete
> them.  According to O'Rielly's Samba book (based on Samba 2), all should
> work fine, but it doesn't.  I was wondering whether this is because of
> Windows 2000 allowing delete of Read Only files.  As such I may have to
> perhaps set up a Windows 95/98 box just to see.


Didn't see what your OS is, but if it's Linux/extfs3 or whatever, 'man
lsattr', 'man chattr'.

--Tonni

--
mail: tonye at billy.demon.nl
http://www.billy.demon.nl



More information about the samba mailing list