12.04 LTS and I mistakenly protected a file named
chmod 700 /home/jatin/Desktop/set
How do I unprotect it?
Step #1 = In terminal type "gksu nautilus".
Step #2 = Navigate to where the file or folder is.
Step #3 = Right click the file or folder, choose "properties", choose "permissions", and then choose the desired access settings. You can also change who owns the file or folder if you don't want it to be owned by root.
Don't forget to close the nautilus window afterwards - it runs with root permissions.
the answer is:
check this table:
if you can connect as a root:
to change owner :
change the user as your own
-R to recursive so all the directory inside will be owned by user
to change permission :