Windows moment
Not necessarily. Linux can have files that are r---r---r--- too
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.
I use:
alias thisfolderismine='sudo chown -R $USER'
alias thisfileismine='sudo chown $USER'
Me, realizing I can't delete Edge because the OS assumes it's installed
Me trying to uninstall edge
Edge is the best browser for downloading much better browsers lol
Edge is literally the first program I use on a fresh install.
You can install firefox via cli like powershell.
winget install Mozilla.Firefox
First command I run on any new Windows install
nobody was expecting linux users sucking eachothers cocks in the comment section
If you're on windows this means you don't own the file. Go to properties security and take ownership.
The default windows configuration is aimed at old people who will call tech support when they fuck up their PC.
You can take ownership of pretty much the entire filesystem.
Windows is actually hugely customizable people just don't.
Glad to see another voice of sanity regarding Windows.
If you haven't learned by now, on Lemmy the only valid option for dealing with Windows configuration and basic Windows admin tasks is to yeet Windows and go to Linux.
Sometimes one wants to access a file without making changes though. Escalating privileges is the answer in this scenario and windows doesn't make that as easy,as it doesn't really want to you act as SYSTEM
I am Root!
sudo chown <username> <file>
chmod 700 <file>
Don’t see a problem ;) /s
sudo chown -R <user> /
Never have a permission issue again! Lmao
My work laptop had a pop-up from an application that basically said "we couldn't restart last time, so you e got 15 minutes until we reboot your computer" with no way to cancel or prevent the reboot.
Me: the fuck you are
* proceeds to kill the service and process from admin command line*
Get fucked fortinet, I'll reboot when I'm gods damned ready
had a friend that was having problems with his PC and windows kept bitching about he didn't have permissions. he ripped out the harddrive with it still powered on and threw it off his balcony into the lake screaming, "I fucking own you!"
epic moment in my life to witness such an event.
Did it work after that?
No, but this time the owner knows why it doesn't work. Big difference in IT.
Is there a technical reason that Linux apps can't/don't just pop up an authenticator thing asking for more privileges like Windows apps can do? Why does nano just say that the file is unwriteable instead of letting me increase the privileges?
Some do. I'm sure it is possible with terminal programs. In KDE, you do get authenticator pop-ups.
One time Windows told me I needed admin privileges to edit s file. I had admin privileges.
You needed permission from the SYSTEM or TrustedInstaller account.
Which you can give to yourself if you are admin.
idk tf chown does, use sudo instead. im not going to read man chown
either.
sudo su
# do shenanigans in the cli/tui. gui is for noobs
# nvim, ls, touch, stroke, tease, rm
I own you!
take ownership & full access of all resources
threat actor exploits a vulnerable application that is (1) running as you to (2) access resources it doesn't need: they commandeer your system
how did that happen?
🤔
EZ fix i learnt from hunter2
chmod 777 -R /
sudo ufw allow 22
hunter2 ALL=(ALL) NOPASSWD: ALL
Can't shutdown there is a running program
/Me finger immediately goes to the power switch
To own something is to control it.
You clearly don't have control, therefore you don't own it, microsoft does. You can fix that by seizing the means of computation and install linux.
Just to have linux be even more ruthless with its permission schemes.
sudo chown....
This fuckin line
Childhood me: "Whats he mean by that?"
My parents: "[explains slavery]"
Me: ...
Them: ...
Thanks, Disney!
I still love the soundtrack.
Ah ah ah! You didn’t say the magic word!
sudo edit the file!
…
Ah ah ah! You didn’t say the secret word right after!
memes
Community rules
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to [email protected]
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads
No advertisements or spam. This is an instance rule and the only way to live.
A collection of some classic Lemmy memes for your enjoyment
Sister communities
- [email protected] : Star Trek memes, chat and shitposts
- [email protected] : Lemmy Shitposts, anything and everything goes.
- [email protected] : Linux themed memes
- [email protected] : for those who love comic stories.