Re: 2003 chkdsk
- From: barry <noooooo@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 07 May 2005 15:03:30 GMT
barry wrote:
Hi,
This is actually a 2003 server, but I cant find the newsgroup.
I'm implementing a new file server, and have been sorting out the permission for user directories, departments etc etc. I ran a checkdsk on the volume, this ran, and replaced "invalid security id with default security id" for about 600,000 files. What exactly does it determine as "invalid security"? It was working fine until I ran check disk. Obviously the default security is rather locked down, and denies all my users from accessing their files. After a few hours of messing, I eventually sorted it (that and I had a script to do half the work anyway). The script just sets the owner of files in their user directory (using subinacl), and gives them full control to anythgin in their user directory. If its relevant I can copy the code.
I've just run another chkdsk (without /f!!) and its come up with a load more "invalid security IDs".
what doesn't it like??
Does anyone know of any program that can 'back up' the security settings on files so that if this happens again - presumably when i next chkdsk /f, I can just restore them?
Thanks Barry
right, after mucho faffing around, I've come top the conclusion that its the setowner switch of subinacl (version is 5.2.3790.1180). It worked for the first few users (i cancelled my script and did a chkdsk). I then did all of them and im getting the invalid security ID errors. Though permissions look fine and its all workign nice.
Heres the script snippet. Theres a 5 second lag between each iteration. Which incidentally isnt always long enough so that there's only one subinacl running.
objShell.Run "cmd /c " &chr(34)& " subinacl.exe /subdirectories E:\F_APPS\users\"&f1.name&"\* /setowner="&f1.name&"@mynicedomain.com"&chr(34) &""
I even stopped the AV scanner as I thought this might be it. It wasnt.
Anyone any ideas?
I've now altered the script so as to not run more than one copy of subinacl, on the off chance that makes a difference. Obviously now I've gotta go back and chkdsk the server and mess around for a few hours again sporting its permissions out. I can't be bothered as its saturday and i need to buy some food :)
.
- References:
- 2003 chkdsk
- From: barry
- 2003 chkdsk
- Prev by Date: Re: cannot stay connected to the internet due to winsock error
- Next by Date: Win 2000 stuck in safe mode
- Previous by thread: Re: 2003 chkdsk
- Next by thread: Re: achedulizing webdav
- Index(es):
Relevant Pages
|