this post was submitted on 08 Jul 2024
632 points (96.9% liked)
Programmer Humor
32361 readers
1043 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In which case you could also go right-click -> properties -> security -> advanced -> click change where it lists the owner.
It's not as quick but hey, mouse-driven UI exists.
I think I had this guy's exact issue and maybe even stumbled upon his comment in that Microsoft support forum thread. It looks very familiar, but I could have just seen the meme before.
My problem was that I needed to do this for 100+ files, so using the UI individually for each file was out of the question. The eventual solution I found was in this tutorial for adding a context menu entry that changes folder/file ownership recursively. It's been very useful!
The fact that Andrew might have to run this at all means Windows (or possibly the manufacturer of his camera) has fucked up. He should not need to learn about this to use his files. Obviously he shouldn't have permissions to system files but that's clearly not what he actually wants.
Windows defaults to giving a user access to common folders like a desktop, pictures, etc. Most never need anymore access to internal folders.
The fact that Andrew has the permissions settings open enough to discover "owner" but doesnt understand what any of it is means and instead launched a "don't tread on me" screed about his "dominion of all things mine" implies that he fucked up, not Microsoft.
How did his user account lose permissions to a folder of pictures?
He didn't "discover owner" by opening any permission settings. He is simply asserting that he is the owner of the pictures he took, in a non-technical sense.
He doesnt talk about pictures at all. That was someone elses supposition.
It's not clear from the snippet of text what the issue is, but it sure looks like he opened up the folder ACLs and found that his account wasn't "Owner" for some folder/files, and now hes mad that he is being made to elevate his own account for that folder, because "He is the OWNER!" of the files in a property rights context.
Ah, ACLs, had the pleasure of working with these again last weeks.
It gets really curious when even the Arch wiki doesn't really know what's going on (talking about mask and effective permissions):
From trying, I can confirm that the info presented further down is wrong.
Once you read what it actually does and why it's the way it is, it makes more sense - not that I remember it now - but at least there was a coherent design decision behind it