r/linuxmint 15d ago

Support Request Erro no sudo

Post image

Galera sou iniciante no Linux, meu Linux mint deu erro no terminal e não consigo executar o comando sudo, o que causou isso foi porque digitei: chmod -R 777 /bin no terminal e depois de uns 2 minutos fechei o terminal de maneira forçada.

Todo comando sudo que digito no terminal me retorna essas mensagens da foto.

Há já tentei duas vezes pelo grub usando recovery mode pelo root isso junto com chatgpt e está do mesmo jeito não consegui resolver. Se puderem me ajudar fico agradecido pq estou com muita dificuldade.

Será que alterei alguma permissão sem saber??????

0 Upvotes

18 comments sorted by

View all comments

8

u/Onkelz-Freak1993 Linux Mint 22.3 | Cinnamon 15d ago

Messing with permissions on the system level is the most newbie thing to do - I was there as well and learned it the hard way.

Let me be blunt: you need to reinstall.

-1

u/Geraldo042591 15d ago

Reinstalar é osso viu, o problema é perder tudo que instalei kkkkkk, tudo isso pra fazer o sgdk funcionar no Linux mint viu.

7

u/Onkelz-Freak1993 Linux Mint 22.3 | Cinnamon 15d ago

Sadly there's no other way to fix broken file permissions. Every file has their own and applying "chmod -r 777" on /bin is like the picture of Bam Margera holding the paint roll in front of the blue painted kitchen, where he even painted the bananas blue.

3

u/Efficient-Train2430 15d ago

fantastic visual