Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have example.txt file. I changed access of this file and reinstalled OS. After that I don't have access to this file. How can I get access to this file?

share|improve this question
add comment

migrated from stackoverflow.com Sep 7 '11 at 14:51

This question came from our site for professional and enthusiast programmers.

2 Answers

As an administrator, you need to take ownership of the file, then change its permissions.

share|improve this answer
add comment

Please right click this file, select Properties, and then go to the Permissions tab. Press "Change Owner" and in the window that appears type your own username and then OK. You will then be able to change the permissions on this file (via the button below the permissions list, I believe labeled Edit) in order to make it readable/writable by your or others.

The exact text may be wrong, I'm on Linux right now so I can't check.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.