Ubuntu – How to unprotect a file which is owned by root

chmodroot

12.04 LTS and I mistakenly protected a file named set using:

chmod 700 /home/jatin/Desktop/set

How do I unprotect it?

Best Answer

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.

screenshot:

Related Question