Then you sudo chmod. Windows I have to do weird shit with the properties context menu. And even that sometimes doesn’t work. I run commands in powershell as Administrator. Still doesn’t work.
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.
Not necessarily. Linux can have files that are r—r—r— too
It is also possible to make a file “immutable” such that even
sudo rm -f
will failThen you sudo chmod. Windows I have to do weird shit with the properties context menu. And even that sometimes doesn’t work. I run commands in powershell as Administrator. Still doesn’t work.
Fuck Windows.
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.
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.
Then don’t mess with things you don’t understand? I don’t see how this relates to gui vs cli.
This isn’t all that different from using CMD on windows. Except that it works better, obviously.
I use:
alias thisfolderismine='sudo chown -R $USER' alias thisfileismine='sudo chown $USER'
Great way to get your computer pwned.
What’s
*
doing here? Operate only on the nonhidden top-level files?