PDA

View Full Version : Trying to change directory permissions group level? (W2K)



The_Guru1
04-14-2005, 01:08 AM
Hi all,

Need some help please, we have a lovely audit coming up don't you just love them? one of things that needs to be done is to change directory permissions on each 2000 server, 52 of them needs permissions set and there are 23 permissions to be set on each server. They are all the same for each one.

The question is when you set the permissions where do the they get written to the registry? or a file(s). The reason being if i could duplicate the settings from the files or registry it would life alot easier. instead of manaully doing it. can this be done?

motoflop
05-02-2005, 02:28 PM
File and directory permissions are written to NTFS internal data areas. So they are not in registry or separete files. if you want to duplicate them, you have to write a program, which can directly access disk sectors and correctly interpret NTFS internal, undocumented structures. Not an easy task.

So if you want apply same permissions for several files or directories, use command line tools found from W2K resource kit. With them and some command scripts you can quit easily apply lot of permissions.