this post was submitted on 03 Sep 2025
140 points (87.6% liked)

Programmer Humor

26135 readers
1203 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

not really programming and probably butchered the execution on that cmd but this felt like the only place it would be funny to post it

you are viewing a single comment's thread
view the rest of the comments
[–] FurryMemesAccount@lemmy.blahaj.zone 21 points 2 days ago (17 children)
[–] sad_detective_man@leminal.space 47 points 2 days ago (14 children)

takes ownership of the C disk in windows and gives administrators full priveledges for program files. by default they belong to "trustedinstaller" which bars you from using a lot of your own computer, even if you make an admin account.

[–] Chronographs@lemmy.zip 20 points 2 days ago (9 children)

I feel like that would break a lot of stuff

[–] AnyOldName3@lemmy.world 4 points 1 day ago

Windows permissions are more flexible than basic Unix ones. A file doesn't just have an owner and a group, it can have individual permissions for arbitrarily many entities, so taking ownership doesn't remove any of the permissions from anything that already had access, it just adds more. The command shown here is closest in effect to deciding you're always going to log in as root from now on, although Windows has a way to effectively do that without modifying the ACL of every file. Either way, it's silly, and usually people who suggest it are under the impression that XP did permissions right by not meaningfully enforcing them and not having an equivalent of a root account you can temporarily switch to, and Vista only changed things specifically to annoy people, and not to be more like Unix.

load more comments (8 replies)
load more comments (12 replies)
load more comments (14 replies)