1302
Who's in charge? (lemmy.world)
top 50 comments
sorted by: hot top controversial new old
[-] spicytuna62@lemmy.world 116 points 1 month ago
load more comments (3 replies)
[-] pipe01@programming.dev 75 points 1 month ago
[-] kn33@lemmy.world 44 points 1 month ago* (last edited 1 month ago)

Not necessarily. Linux can have files that are r---r---r--- too

[-] Undearius@lemmy.ca 33 points 1 month ago

sudo chown -R 1000:1000 /* && sudo chmod -R 777 /*

[-] HurlingDurling@lemm.ee 39 points 1 month ago

alias iownyou='sudo chown -R 1000:1000 /* && sudo chmod -R 777 /*'

[-] DaddleDew@lemmy.world 32 points 1 month ago

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.

[-] feannag@sh.itjust.works 15 points 1 month ago* (last edited 1 month ago)

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!

[-] Zanathos@lemmy.world 8 points 1 month ago

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.

load more comments (1 replies)
[-] jaybone@lemmy.zip 15 points 1 month ago

You don’t have to use the cli. But it’s nice to have the option if you want to.

[-] JcbAzPx@lemmy.world 5 points 1 month ago

This isn't all that different from using CMD on windows. Except that it works better, obviously.

[-] tostiman@sh.itjust.works 11 points 1 month ago

I use:

alias thisfolderismine='sudo chown -R $USER'
alias thisfileismine='sudo chown $USER'
[-] BlackPenguins@lemmy.world 7 points 1 month ago

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.

Fuck Windows.

load more comments (3 replies)
[-] floquant@lemmy.dbzer0.com 5 points 1 month ago

It is also possible to make a file "immutable" such that even sudo rm -f will fail

[-] balderdash9@lemmy.zip 17 points 1 month ago

Me, realizing I can't delete Edge because the OS assumes it's installed

[-] GetOffMyLan@programming.dev 39 points 1 month ago

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.

[-] wizardbeard@lemmy.dbzer0.com 24 points 1 month ago

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.

[-] Aggravationstation@feddit.uk 15 points 1 month ago

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.

Not true. The only valid option to deal with Windows at all is to yeet it and go to Linux.

[-] Rhaedas@fedia.io 6 points 1 month ago

That isn't the reason to yeet Windows. If you were talking years ago about 7 or XP, things were different. 10 is not that great comparably, and 11 is a mess. But keep your Windows, if it's what works for you. Until it doesn't.

Dual boot for the best of both worlds (although I'm finding myself more and more on the Linux side because it's better for me.)

load more comments (5 replies)
[-] applebusch 6 points 1 month ago

Except when you want to customize it to stop it from updating against your will. Then fuck you, secret code to change your settings and settings that simply do nothing.

load more comments (1 replies)
[-] Redjard@lemmy.dbzer0.com 5 points 1 month ago

In the basic case you go to settings and change permissions.

In the more typical case for os modifications, you go to that tab, open advanced properties, change the owner account by typing in "everyone" or your account name by hand, saving, closing reopening the advanced security settings, probably disable inheritance then create a new permission entry.

In the most extreme case, where you change files belonging to something critical like windows defender or edge, you can't.
The only way I am aware of is booting into an older windows install iso, or a live linux iso, then performing the modifications there.

Disclaimer: I have not done this on windows 11 yet, but I can't imagine the process got simplified.

Windows has a lot of systems that allow some more complicated modifications. Those are often unnecessarily obfuscated, the registry for example doesn't have to be a weird custom database, it could have been part of the filesystem or at least a more standard database format. Windows will sometimes bite you with weird sketchy systems breaking expectations, and this tends to become inevitable when you try to change stuff Microsoft has decided to remove consumer choice on.
If Edge and the account push were as easy to avoid as learning how to take basic file ownership, we might not be where we are now (i.e. on Linux).

[-] VinesNFluff@pawb.social 36 points 1 month ago
[-] Vari@lemm.ee 31 points 1 month ago

Me trying to uninstall edge

[-] frenchfryenjoyer@lemmings.world 17 points 1 month ago

Edge is the best browser for downloading much better browsers lol

[-] amorangi@lemmy.nz 15 points 1 month ago

Edge is literally the first program I use on a fresh install.

[-] dubyakay@lemmy.ca 15 points 1 month ago* (last edited 1 month ago)

You can install firefox via cli like powershell.

winget install Mozilla.Firefox
load more comments (1 replies)
load more comments (1 replies)
load more comments (4 replies)
[-] Passerby6497@lemmy.world 24 points 1 month ago

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

[-] Szewek@lemm.ee 22 points 1 month ago
[-] ArchmageAzor@lemmy.world 19 points 1 month ago

One time Windows told me I needed admin privileges to edit s file. I had admin privileges.

load more comments (1 replies)
[-] Olgratin_Magmatoe@slrpnk.net 17 points 1 month ago

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.

[-] zeca@lemmy.eco.br 12 points 1 month ago

Just to have linux be even more ruthless with its permission schemes.

[-] Limonene@lemmy.world 10 points 1 month ago

When you switch to an admin account on Windows, there are still files owned by "TrustedInstaller" that you can't touch, and processes owned by "System" that you can't terminate.

Linux doesn't have that. When you switch to root, you can kill any process. You can modify or delete any file.

[-] MonkeMischief@lemmy.today 8 points 1 month ago* (last edited 1 month ago)

Sometimes (often?) at your own peril!

To anyone else following, if you're mucking around with "I am Root/Admin. OBEY ME!!" you had better have important data backed up!

I once thought an unlisted BTRFS snapshot was an orphan folder taking up space. No permission? Nonsense! Obey my commands!

Suddenly not even terminal commands worked. ("Command 'cd'/'ls'/whatever not found")

. . . it was the "writable snapshot" currently mounted, and the system was so borked it couldn't rollback, and I needed to completely reinstall.

Fortunately I had things backed up on another drive. Live and learn! But that could have been TRAGIC.

[-] entwine413@lemm.ee 5 points 1 month ago

What the hell are you talking about? Permissions issues in Windows have absolutely nothing to do with Microsoft owning your files.

load more comments (4 replies)
[-] sirico@feddit.uk 16 points 1 month ago* (last edited 1 month ago)

EZ fix i learnt from hunter2

chmod 777 -R /

sudo ufw allow 22

hunter2 ALL=(ALL) NOPASSWD: ALL

[-] TheDemonBuer@lemmy.world 15 points 1 month ago
[-] benjaminb@discuss.tchncs.de 12 points 1 month ago
sudo chown <username> <file>
chmod 700 <file>

Don’t see a problem ;) /s

load more comments (1 replies)
[-] chonglibloodsport@lemmy.world 12 points 1 month ago

Think about this: let’s say you run a program. Do you want that program to be able to take over the computer and read all your files from now on and send the data to a remote third party?

Probably not.

Permissions were created to stop programs from doing that. By running most software without admin permissions you limit the scope of the damage the software can cause. Software you trust even less should be run with even fewer permissions than a normal user account.

The system is imperfect though. A capability-based system is better. It allows the user to control which specific features of the operating system a running program is allowed to access. For example, a program may request access to location services in order to access your GPS coordinates. You can deny this to prevent the program from tracking you without otherwise preventing the software from running.

load more comments (2 replies)
[-] AdrianTheFrog@lemmy.world 11 points 1 month ago* (last edited 1 month ago)

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?

[-] Mohamed@lemmy.ca 11 points 1 month ago

Some do. I'm sure it is possible with terminal programs. In KDE, you do get authenticator pop-ups.

load more comments (4 replies)
load more comments (4 replies)
[-] Zink@programming.dev 11 points 1 month ago

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!

[-] A_Union_of_Kobolds@lemmy.world 11 points 1 month ago* (last edited 1 month ago)

This fuckin line

Childhood me: "Whats he mean by that?"

My parents: "[explains slavery]"

Me: ...

Them: ...

Thanks, Disney!

I still love the soundtrack.

[-] selokichtli@lemmy.ml 10 points 1 month ago

sudo stinking effer!

[-] BurgerBaron@piefed.ca 10 points 1 month ago

"TakeOwnership Registry Hack" PSA. It just werks.

[-] sad_detective_man@leminal.space 8 points 1 month ago* (last edited 1 month ago)

"takeown /f c: icacls c:" changed my life. Windows literally has trusted installer listed as owning most of your hard drive on every fresh install, but that is negotiable. at least for the stuff you need.

[-] gndagreborn@lemmy.world 7 points 1 month ago* (last edited 1 month ago)

Visual representation of the first time I ever saw "owner: nobody"

[-] axEl7fB5@lemmy.cafe 5 points 1 month ago

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
load more comments (1 replies)
[-] panicnow@lemmy.world 5 points 1 month ago

Is this why people run Arch instead or atomic linux distros?

load more comments (3 replies)
load more comments
view more: next ›
this post was submitted on 27 Jun 2025
1302 points (100.0% liked)

memes

16638 readers
2118 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS