Permissions Batch File

From: SLingerUK (Steve.Linger_at_his-herts.nhs.uk)
Date: 07/30/04


Date: Fri, 30 Jul 2004 11:42:06 +0100

Dear all

I have been given the task to create a folder structure and permissions on
the structure (easy enough!!!). Problem being there are some 5000 folders
to be created and permissions applied to!!!

The folder structure has been created but I still need to apply the
permissions to the folders. Can anyone give me any ideas on how I can
create a batch file to create the permissions? Here are some details on
what I need to be able to do.

The Folder Structure is on Four Levels (ie e:\level1\level2\level3\level4).
Everyone gets read only access to all folders (already done... that was the
easy bit). I need to be able to grant MRLRW permissions at levels 3 & 4 and
just to confuse matters I need to be able to grant permissions to create
files but not folders (which again I can do through the GUI but don't know
if it can be done through a batch file).

I hope that is all clear. Thanks in advance.

Steve



Relevant Pages

  • Re: NTFS Security Question.
    ... A subordinate object DOES not inherit the PARENT perms (in ... will assume "Nebulous" permissions that refer to the LINK ... The trick is to PROPOGATE to all FILES (not Folders and Files - that would ... Since Windows 2000 deny NTFS permission does not work ...
    (microsoft.public.windowsxp.security_admin)
  • RE: ISA 2004 REPORT FAILURE
    ... Did as you suggested and turned auditing on for the system and folders ... that is setting the wrong permissions of the folders ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Script to check individual permissions
    ... You can try this batch file. ... echo Compiling a directory listing ... I want to clean up the permissions on my fileserver. ... only displays that folders with permissions set to individual users. ...
    (microsoft.public.windows.file_system)
  • RE: ISA 2004 REPORT FAILURE
    ... the ISA Reports still fail because ... I can change the permissions manually ... on the ISALogs and ISASummaries folders ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: Personal Media Drive
    ... > much more knowledgeable about Windows than I am. ... You restrict access by assigning permissions to drives, folders and files. ...
    (microsoft.public.windows.mediacenter)