(E-Mail Removed) (Craig) wrote in
news:(E-Mail Removed) om:
> I know I can set a directory to read-only after it is created, but
> that means I have to constantly search the server for new folders
> created by users (Windows clients). How do I make a default permission
> with Linux/Samba to create, but not delete or move, a directory on a
> server?
> Thanks.
So close to knowledge, but so far from reality. ;-)
Whether or not you meant it, the ability to "delete or move" a
directory directly requires WRITE access to its parent directory.
To create a subdirectory REQUIRES that you ca WRITE to the parent.
Both of these are true because to create, move, or delete a directory
requires the parent directory file to be MODIFIED/WRITTEN to.
> I know I can set a directory to read-only after it is created,
Which directory is being set "read-only", the parent or the newly
created subdirectory?
Read-only for which users?
What good is an empty read-only folder?