Re: file permissions
"Tester" <calinguga@netscape.net> wrote in message
news:88420b85-522f-4fe2-a9e2-b1c43402cb1e@b64g2000hsa.googlegroups.com...
> Hi there,
> I have a few shares on a server that users can list/view and they have
> some subfolders. What permissions should should I assign to subfolders
> so users can see and modify the contents, rename, but not delete the
> subfolders? Thank you, T
This is possible but not trivial to do.
You will need to set the FILE permissions to the desired (e.g., Modify)
setting and the Directories (separately and without propagating) to the
correct permissions (e.g., Read).
Directories are NOT required to have the same permissions as the files
within them -- but this requires EITHER (re)setting the directory
permissions
after the files are created, or (re)setting the file permissions after they
are
created OR:
You may need to set the Directory Permissions (for the directory itself)
different
from the INHERITABLE permisions on the directory so that new files will be
'born' with the correct -- and different -- permissions. Standard tools
like
Windows Explorer won't do this, neither will Cacls.exe but XCacls will and
so
will the (new) ICacls.exe, as will SetAcls.exe (from SourceForge.net).
You may need to use "Special Permission" to perform such custom permissions
as setting a directory to allow Creation of Files but NOT of child
Directories (or
vice versa), or for allowing Write, but not Delete (although by overwriting
an
effective delete is still possible.)
--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com (phone on web site)
If you use LinkedIn then tell me where you know me from when linking:
http://www.linkedin.com/in/herbmartin