Uh-Oh...Screwed up permissions on a file...

  • Thread starter Thread starter David Reed
  • Start date Start date
D

David Reed

Okay,

A user came to me today, and asked me to please delete a specific file on a
file server (Windows 2000 Server, also a Domain Controller
(Primary)...serves e$ as a shared folder for our researchers data). He then
told me the file was in use by someone, and it was out of date, so he would
rather it just be deleted.

I tried to delete it, but of course got a sharing violation.

I removed the inheritance of permissions ON THAT FILE ONLY...

I added ADMINISTRATORS group, and gave it full permissions, including Full
Control.

I added Authenticated Users group, and gave it a DENY on all but the Full
Controll option.

My thinking was that at least the Administrator would be able to make
changes, and that whoever else had the file open would lose the ability to
keep that file open. But now I can, when logged on as Administrator, I
can't make any permission changes, OR view the permissions either.

What the heck do I do now?

How do I (for future use) for a file closed? Like "Kill"?

And how do I get access to the file back so I can delete it?

OMG...

Thanks,

David Reed
 
I probably can, though I admit I've never had to do that...so I could use
some guidance. :)
 
In computer management on the server find the open file and close the access
to it. Then delete it. It may cause a problem on the user end but not for
the server side.
 
That sounds great! I'm in Computer Management...where do I find it in here,
though? (searching now)...
 
"Shared Folders" | "Open Files"

--
--
Daniel Chang
Server Setup Team

Search our Knowledge Base at http://support.microsoft.com/directory
Visit the Windows 2000 Homepage at
http://www.microsoft.com/windows2000/default.asp
See the Windows NT Homepage at http://www.microsoft.com/ntserver/

NOTE: Please reply to the newsgroup and not directly to me. This allows
others to add to and benefit from these threads and also helps to ensure a
more timely response. Thank you!
This posting is provided "AS IS" without warranty either expressed or
implied, including, but not limited to, the implied warranties of
merchantability or fitness for a particular purpose.
The views and opinions expressed in this newsgroup posting are mine and do
not necessarily express or reflect the views and / or opinions of Microsoft.
 
You have to take ownership of the file. Ownership has to
taken, and cannot be assigned. Even admin acct will have
to follow the rule.

When get into file security property, try to reset
permission, and make admin acct owner. dismantling
sharing. and give give it another try.

Hope that may help.
 
What you should have done was look at open files, find the one you needed to
delete, and close it, then delete it.
 
I agree, but I wasn't sure how to do that.

But I am now, and that's what I did. Thanks very much!

David
 
My thinking was that ..... whoever else had the file open would
lose the ability to keep that file open.
It doesn't work that way. If someone has it open, it stays open, no
matter what you do with the permissions.

Use the Shared Folders snap-in to find out who has the file open and
kick them off.

Seems a bit odd though. One guy telling you to delete a file that
someone else has open?

Cheers,

Cliff
 
Back
Top