Discussion Locked

Recovering file permissions?

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
My 2000 server file and folder permissions got hammered, how do I reset all permissions back to "everyone" when I don't have access to all files (access denied)?

9 replies

by rapidad

Access denied?? if you dont have administrator permission, you will not be able to accomplish this. Are you logged in as admin (or as someone who has been given admin)?? If not sure let us know and we will tell you how to check....
let us know...

by timwalsh

The owner of a file can always set access permissions for that file. As administrator, you can "take ownership" of any file. Once you take ownership, you can then reset you permissions.

by mike mullins

Log in locally the server and select the folder.
1. Right click and select Properties and then security.
2. Add the everyone group
3. Check - Reset permissions on all child object and enable propagration of inheritable permissions.
4. Under theAdvanced button, you can select the Owner tab and give your self full control. If necessary.

Good Luck,
0bytes

by beermonster

Hi,
As you will have discovered if you tried, you cannot reset permissions on an object unless you have taken ownership of it - therefore trying to apply permissions from the root will fail on any object that you neither own or have permissions on. What you need is a win2k reskit util called takeown.exe - it's probably available for download from MS. You can whip up a script using takeown to take ownership of all the files and folders from the root down, then use cacls or xcacls to reset the permissions. Hope this helps...

This discussion is closed to new replies.