this post was submitted on 27 Jun 2025
1187 points (99.4% liked)

memes

15795 readers
5361 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/AdsNo 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

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] axEl7fB5@lemmy.cafe 3 points 1 hour ago (1 children)

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
[–] Eyedust@lemmy.dbzer0.com 1 points 41 minutes ago

So I'm not the best at this, but this is my best guess (I have no experience in sysadmin, as I've only ever been the sole user of my PC and prefer not to network anything).

Owner #1, smackyboi, has ownership of a file called smutgame.AppImage. This means they can choose who accesses smutgame, if it can execute, if it can be read or written by certain groups, etc.

Owner #2, luvurealgood, on the system via their own account (or networked computer in the case of server storage) can't change these settings unless smackyboi says they could, because they're the owner and can add luvurealgood to the admin group for the file if they want. Smackyboi suddenly writes, sudo chown luvurealgood smutgame.AppImage.

Now luvurealgood owns that file and can make every change they want to it, including removing smackyboi from accessing it, as they're no longer the owner. They can lock down the file and forbid it from being executed, etc etc. I believe anyone who is in the admin group of that file can do anything to it as well, except change it's ownership if its already owned.

This is just from pieces of info and my tiny experience in Windows sysadmin shenanigans. Someone swoop in and correct me if I got anything wrong.

[–] benjaminb@discuss.tchncs.de 8 points 11 hours ago
sudo chown <username> <file>
chmod 700 <file>

Don’t see a problem ;) /s

[–] AdrianTheFrog@lemmy.world 12 points 17 hours ago* (last edited 17 hours ago) (2 children)

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 9 points 17 hours ago (1 children)

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

[–] dubyakay@lemmy.ca 3 points 14 hours ago

With arch+xfce4 I mostly don't. Except for when I do systemctl reload in a cli without sudo and it pops a surprise elevation password request gui in my face. I haven't figured out what makes it behave like that.

I use Arch btw 👉🧐 eats booger

[–] blockheadjt@sh.itjust.works 1 points 15 hours ago

Iirc there are ways to format your command to get it to do this. So whatever app you're using just chose to format its command the simpler way.

[–] Vari@lemm.ee 29 points 21 hours ago (5 children)

Me trying to uninstall edge

[–] frenchfryenjoyer@lemmings.world 18 points 21 hours ago (1 children)

Edge is the best browser for downloading much better browsers lol

[–] amorangi@lemmy.nz 15 points 19 hours ago (1 children)

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

[–] dubyakay@lemmy.ca 11 points 14 hours ago* (last edited 14 hours ago) (1 children)

You can install firefox via cli like powershell.

winget install Mozilla.Firefox
[–] RoyaltyInTraining@lemmy.world 3 points 11 hours ago

First command I run on any new Windows install

load more comments (4 replies)
[–] lmmarsano@lemmynsfw.com 11 points 20 hours ago* (last edited 19 hours ago)

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?

🤔

[–] spicytuna62@lemmy.world 108 points 1 day ago (1 children)
[–] Shardikprime@lemmy.world 4 points 17 hours ago (1 children)

POOF

Wish 1: Delete your self (the genie deletes your sense of self)

[–] dubyakay@lemmy.ca 1 points 14 hours ago (1 children)

Would the genie get stuck in an endless loop, trying to find the owner of the three wishes for wish 2?

[–] Shardikprime@lemmy.world 1 points 1 hour ago

Fortunately the wisher is indistinguishable from a behavioral perspective of a P-Zombie, so they can still make wishes

[–] pipe01@programming.dev 69 points 1 day ago (5 children)
[–] kn33@lemmy.world 44 points 1 day ago* (last edited 1 day ago) (3 children)

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

[–] BlackPenguins@lemmy.world 5 points 18 hours 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.

[–] Undearius@lemmy.ca 31 points 1 day ago (3 children)

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

[–] HurlingDurling@lemm.ee 39 points 1 day ago (1 children)

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

[–] DaddleDew@lemmy.world 31 points 1 day ago (5 children)

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.

load more comments (5 replies)
load more comments (2 replies)
[–] floquant@lemmy.dbzer0.com 4 points 19 hours ago

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

load more comments (4 replies)
[–] Passerby6497@lemmy.world 22 points 1 day 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

[–] GreenKnight23@lemmy.world 20 points 1 day ago (1 children)

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.

[–] Dozzi92@lemmy.world 13 points 1 day ago (3 children)
[–] hakunawazo@lemmy.world 14 points 1 day ago (2 children)

No, but this time the owner knows why it doesn't work. Big difference in IT.

[–] HeyThisIsntTheYMCA@lemmy.world 1 points 11 hours ago

Is the power cable connected? No? Okay plug it in, then turn it off and back on again.

load more comments (1 replies)
load more comments (2 replies)
[–] Kolanaki@pawb.social 6 points 20 hours ago (2 children)

I have Windows 10 Pro. I can alter the permissions for anything. If I wanted to, I could delete System32 and fuck the whole thing up.

[–] Bytemeister@lemmy.world 4 points 14 hours ago

Pretty sure you can do that for home as well, just as long as you aren't in S mode.

Otherwise, admin console and clear the file permissions.

All that being said, for your average user, if you are trying to delete a file and windows says you don't have permission, it's probably best to leave it alone.

[–] b000rg@midwest.social 4 points 20 hours ago (4 children)

Can you delete Xbox games installed by another administrator? I ran into that problem a few years ago because I reinstalled W10 and had it keep "personal files" which apparently included my Xbox games. I couldn't touch them at all, but I had W10 Home. I wonder if my problem could've been mitigated more easily than a full wipe of the drive? 🤔

load more comments (4 replies)
[–] DeathByBigSad@sh.itjust.works 8 points 22 hours ago (1 children)

When I want to end myself

My Body: Survival_Instincts.exe has activated

You don't even own your body lol

load more comments (1 replies)
[–] VinesNFluff@pawb.social 31 points 1 day ago
[–] GetOffMyLan@programming.dev 35 points 1 day ago (3 children)

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.

[–] Redjard@lemmy.dbzer0.com 4 points 20 hours 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).

[–] wizardbeard@lemmy.dbzer0.com 19 points 1 day ago (11 children)

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.

load more comments (11 replies)
load more comments (1 replies)
[–] Szewek@lemm.ee 23 points 1 day ago
[–] ArchmageAzor@lemmy.world 22 points 1 day ago (4 children)

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

load more comments (4 replies)
[–] Tattorack@lemmy.world 13 points 1 day ago (1 children)
load more comments (1 replies)
load more comments
view more: next ›