How To Give Permission To Root Folder In Ubuntu?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Open the terminal and type sudo su to switch to the root user.
2. Type cd / to access the root folder.
3. Type chmod -R 755 * to give read and execute permissions to all the files and folders in the root directory.
4. Type chown -R root:root * to assign ownership of all the files and folders to the root user.
5. Finally, type exit to switch back to a regular user.