Cannot write to directory after taking ownership

Posted by jeff charles on Super User See other posts from Super User or by jeff charles
Published on 2012-06-30T20:43:32Z Indexed on 2012/06/30 21:19 UTC
Read the original article Hit count: 238

Filed under:
|
|

I had a directory on an internal hard-drive that was created in an old Windows 7 install. After re-installing my operating system, when I try to create a new directory inside that directory, I get an Access Denied message. This isn't a protected directory, just a random directory I created at the drive root (that drive was not the C drive in either install).

I tried to take ownership by opening folder properties, going to the Security tab, clicking on Advanced, going to Owner tab, clicking on Edit, selecting my user account, checking Replace owner on subcontainers and objects, and clicking Apply. There were no error messages and I closed the dialogs. I rebooted, checked the owner on that folder and a couple subfolders and it appears to be set correctly. I am still getting an Access Denied message however when trying to create a directory in it.

I've also tried using attrib -R . to remove any possible readonly attribute inside the directory in an admin command prompt but am still unable to create a directory using a non-admin prompt (it does work in an admin prompt).

Is there anything I can do to get write access to that folder and it's subcontents in a non-elevated context without disabling UAC?

© Super User or respective owner

Related posts about windows-7

Related posts about permissions