2

Can 777 permissions increase security risk on an average Ubuntu single-user machine? How? What are other downsides of it?

Thanks

1
  • I really don't know why people have this heavy negative though about this , 777 means grant privilege to every account on the system , assuming you have only one or two account "root and www-data" it's wont be matter , I use 777 to solve issue when editing my files when login as root to the server , I may add another account add assign it to www-data group but this will makes me wary more about the new account security . – Salem F Aug 23 '20 at 7:36
3

Yes ofcourse, for example, someone might gain access to a guest account, in that case having chmod 777 all over makes it easier to access private data or modify the system.

3
  • But assuming that no one else has physical access to my computer, can it still cause problems? – Dexter Oct 1 '13 at 14:09
  • @Dexter Yes. If its a file that you personally don't have write or execute privileges for (without sudo) then If someone can trick you to run a program or script 777 privileges make it possible for it to do harm. Linux is largely virus free because it has a strong security model if you have 777 access on files that don't need it you make it less secure/ – Warren Hill Oct 1 '13 at 14:39
  • yes, because they will have remote access as well. With that permission they might as well be sitting in your chair. – Mateo May 24 '14 at 19:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.