0

I have windows 7 and I've installed Oracle and my directory C:\app\jankiewj\product is read only. When I try to remove read only checkbox it ask me for admin permission. I've try to run explorer as administrator also try using attrib as this answer suggest Windows 7 - Cannot remove read-only attribute (running cmd as admin) but with no effect. I can't remove read only attribute.

  • What user account is the owner of the directory? What user account is the owner of the parent directory? – TOOGAM Dec 3 '15 at 8:48
  • @TOOGAM how can I check that? – jcubic Dec 3 '15 at 8:52
0

I assume you are a local admin on the machine and that you already went through the article mentioned in the other answer that explains why the read-only box isfilled in the General Tab of the file properties.

However, if this is a directory ownership issue, you can do the following:

  1. If you want to check the ownership of the parent directory and child directories, just run the following command in an elevated command prompt:

icacls C:\ folderpath

  1. To take ownership of the directory, use:

takeown /F c:\ folderpath /D y /R

R is a recurse switch that will help you take ownership of all sub directories as well

  1. Assign full control by utilizing the following command. This will give you full control over the directory:

cacls c:\ folderpath /E /T /C /G "UserName":F

  • Still nothing :( – jcubic Dec 8 '15 at 14:37
  • Does it still ask you for admin credentials after you took ownership and assigned full control ? – user527345 Dec 8 '15 at 18:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.