Taking ownership of folder does not give full access

permissionswindows-server-2008-r2

Summary:

Even after taking ownership of a newly created directory called "NewWebsite" inside the existing "c:\inetpub\" on a Windows Server 2008 R2 (SP1) I do not have full access. The most obvious symptom is right-click "New" only has "Folder" with the UAC icon.

Details:

I am setting up our product (a website) on a Windows Server 2008 R2 Standard (SP1), which is a virtual machine hosted by one of our clients (I don't know which virtual technology, but I don't think it matters – if it does let me know).

The machine has been created for me by the client (who is snowed under and doesn't have time to help me) and the account I access the machine with is part of the local Administrators group.

I have created a new folder in the "c:\inetpub\" for the project with the name "NewWebsite" (just an example), and I have taken ownership of the folder using this answer. I also made sure I ticked the Replace owner on subcontainers and objects checkbox before OKing through the windows.

The problem is that I still do not appear to have ownership of the folder, the most basic example being that the "New" sub-menu when right-clicking in the folder only has "Folder" with the UAC icon next to it… it does not have the normal list of file types.

I've tried logging off, and back in again… I have tried creating a sub folder and reapplying the ownership, it doesn't matter what I do I simply don't have full control over the folder.

Could this be an issue with group-policy, or am I missing something obvious?

(I've had to do this on a previous client machine, and I'm sure it was easy to do – unfortunately I didn't take notes at the time, so I can't remember exactly what I did)

Update:

From what I can tell, the "inetpub" directory is protected by the virtue of being a system folder, and therefore standard ownership was not going to work.

My client has given my account Full Control of the c:\inetpub\ folder, and I now have the access I require. (I guess this is something I could have done myself, as I had local Administrator access on the machine).

Best Answer

It sounds like you've taken ownership fine but you haven't added a permission to allow yourself to have access. Taking ownership does not grant permission-- those are two different things. (The "CREATOR OWNER" security principal sorta mixes the two together, I suppose...)

Modify the ACL on the folder and add "Your User / Full Control" permission. I suspect things will go fine for you after that.