블로그 이미지
BJcomm
bjcomm

공지사항

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함

calendar

1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
03-29 05:13

Permission denied for all sudo comands

2018. 10. 1. 18:59 | Posted by bjcomm

1. Mount your Ubuntu installation by clicking on the device's icon in the file manager.

2. Open a terminal and cd into the /usr/bin folder of that installation you mounted from above.

3. Run this command to give all users execute permissions

sudo chmod -R a+x .
4. Run this command to give all users read permissions
sudo chmod -R a+r .
5. Run this command to remove all users (except root's) write permissions
sudo chmod -R o-w .

6. Reboot and see if it works.