Now I’ve learned enough to know that I can easily learn what all that apparent gibberish does with the “man” command, but you have no idea how unbelievably unapproachable this makes Linux look to the uninitiated.
Create one command “iownyou” that does tbe following: Change the owner of every file on the computer to the default user and make every file readable, writeable, an executable by anyone or anything on the computer. It may not be secure, but on the bright side, you’ll never have permission issues again!
Until you realize you just screwed up whatever services you may be running that require specific permissions on specific files. Certificates specifically come to mind for my environment.
sudo chown -R 1000:1000 /* && sudo chmod -R 777 /*
alias iownyou='sudo chown -R 1000:1000 /* && sudo chmod -R 777 /*'
Now I’ve learned enough to know that I can easily learn what all that apparent gibberish does with the “man” command, but you have no idea how unbelievably unapproachable this makes Linux look to the uninitiated.
This isn’t all that different from using CMD on windows. Except that it works better, obviously.
You don’t have to use the cli. But it’s nice to have the option if you want to.
Create one command “iownyou” that does tbe following: Change the owner of every file on the computer to the default user and make every file readable, writeable, an executable by anyone or anything on the computer. It may not be secure, but on the bright side, you’ll never have permission issues again!
Until you realize you just screwed up whatever services you may be running that require specific permissions on specific files. Certificates specifically come to mind for my environment.
I use:
alias thisfolderismine='sudo chown -R $USER' alias thisfileismine='sudo chown $USER'