163
Who's in charge? (lemmy.world)
top 50 comments
sorted by: hot top controversial new old
[-] spicytuna62@lemmy.world 17 points 1 month ago
[-] Shardikprime@lemmy.world 2 points 1 month ago

POOF

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

[-] dubyakay@lemmy.ca 1 points 1 month ago

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

load more comments (1 replies)
[-] GetOffMyLan@programming.dev 8 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 7 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 1 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.

load more comments (8 replies)
[-] Redjard@lemmy.dbzer0.com 1 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).

[-] benjaminb@discuss.tchncs.de 5 points 1 month ago
sudo chown <username> <file>
chmod 700 <file>

Don’t see a problem ;) /s

[-] Darkassassin07@lemmy.ca 2 points 1 month ago
 sudo chown -R <user> /

Never have a permission issue again! Lmao

[-] pipe01@programming.dev 4 points 1 month ago
[-] kn33@lemmy.world 3 points 1 month ago* (last edited 1 month ago)

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

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

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

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

I use:

alias thisfolderismine='sudo chown -R $USER'
alias thisfileismine='sudo chown $USER'
[-] floquant@lemmy.dbzer0.com 1 points 1 month ago

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

[-] BlackPenguins@lemmy.world 1 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.

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

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

load more comments (1 replies)
[-] VinesNFluff@pawb.social 3 points 1 month ago
[-] AdrianTheFrog@lemmy.world 3 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 6 points 1 month ago

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

[-] dubyakay@lemmy.ca 1 points 1 month 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

[-] m0stlyharmless@lemmy.zip 1 points 1 month ago* (last edited 1 month ago)

That’s the result of polkit (policy kit) authentication agents. These are typically DE-specific for their GUIs.

pkexec is comparable to sudo and can be used from the terminal to get the graphical prompt for elevated commands.

[-] blockheadjt@sh.itjust.works 1 points 1 month 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.

load more comments (2 replies)
[-] Passerby6497@lemmy.world 3 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

[-] ArchmageAzor@lemmy.world 2 points 1 month ago

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

[-] Cornelius_Wangenheim@lemmy.world 1 points 1 month ago

Just because you have admin rights doesn't mean the process you've invoked does. Unless you specifically elevate it or the process asks to elevate, it'll run unprivileged.

[-] Honytawk@lemmy.zip 1 points 1 month ago

You needed permission from the SYSTEM or TrustedInstaller account.

Which you can give to yourself if you are admin.

[-] kepix@lemmy.world 2 points 1 month ago

nobody was expecting linux users sucking eachothers cocks in the comment section

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

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.

load more comments (3 replies)
[-] axEl7fB5@lemmy.cafe 2 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
[-] lmmarsano@lemmynsfw.com 2 points 1 month ago* (last edited 1 month 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?

🤔

[-] Olgratin_Magmatoe@slrpnk.net 1 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 2 points 1 month ago

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

[-] BombOmOm@lemmy.world 1 points 1 month ago

sudo edit this file!

load more comments (2 replies)
[-] Zink@programming.dev 1 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!

[-] sad_detective_man@leminal.space 1 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.

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

When I want to end myself

My Body: Survival_Instincts.exe has activated

You don't even own your body lol

[-] Kolanaki@pawb.social 1 points 1 month ago

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 3 points 1 month 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.

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

memes

16929 readers
724 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