how to change security attribute for list of

March 3, 2011 at 12:29:54
Specs: Windows Vista

We need to change the read and write security attributes on a list of files spread through several folders. Basically we need to make these files read-only for the users groups, but write and modify attribute to one user. I am hoping that we can use a batch file that will: 1) identify the appropriate files by name string (calendering*.*) and 2) change the attributes such that everyone can read and open but only one user can modify/edit.

The server where ther shares are on is Server 2008.

THank you in advance for your wisdom

See More: how to change security attribute for list of

Report •

March 3, 2011 at 16:06:38
You would not do this at the file level but at the folder or share level.
You would not mix files you want read only on with those requiring full access.

for example you have a folder called reports. You want everyone to read the reports but only one person can create/modify the reports.

you would create a read only group and assign the users to it.
You would assign this to the folders security tab with read/list/execute
you would assign the person creating/modifing the report all rights except full control.

Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's

Report •

March 3, 2011 at 19:48:12
Dear Wanderer,

Thanks for your reply.

Actually, whiel not common practice, we do not want to address nthis at the folder level but at the file level. In your example, with the folder called reports, there may be 100+ sub-folders. In each of thos sub-folders there will be many different files. in addition, in each of those sub-folders there is a specific unique file that starts with the string/file name "calendering*.*". In this scenario, we need to lock down the single file, in each of the sub-folders, to read-only for the user group but for full write/modify for a single user.

Hope thsi helps, and apprecaite yuors and anyone else's thoughts.

I expect that there is the ability to generate a script/batch file that will identify the file by string name, and then allocate/change the appropriate permissions on the specific files.

Report •
Related Solutions

Ask Question