638
you are viewing a single comment's thread
view the rest of the comments
[-] homura1650@lemm.ee 12 points 4 months ago

I think what happened here is that something went wrong and messed up the permissions of some of the users files. MS help suggested that he login as an administrator and reatore the intended permissions.

I don't work with Windows boxes, but see a similar situation come up often enough on Linux boxes. Typically, the cause is that the user elevated to root (e.g. the administrator account) and did something that probably should have been done from their normal account. Now, root owns some user files and things are a big mess until you go back to root and restore the permissions.

It use to be that this type of thing was not an issue on single user machines, because the one user had full privileges. The industry has since settled on a model of a single user nachine where the user typically has limited privileges, but can elevate when needed. This protects against a lot of ways a user can accidentally destroy their system.

Having said that, my understanding of Windows is that in a typical single user setup, you can elevate a single program to admin privileges by right clicking and selecting "run as administrator", so the advice to login as an administrator may not have been nessasary.

[-] intensely_human@lemm.ee 3 points 4 months ago

So this guy is just bitching because he sudo installed something?

It’s not MS having to manage your folder permissions remotely?

[-] psud@aussie.zone 2 points 4 months ago* (last edited 4 months ago)

I feel like he has a machine that someone set up for him, and he can't escalate permissions, because he's on a basic user account.

The normal way this works on a single user machine is:

  1. You try to do something that is restricted to admin
  2. Windows puts up a modal dialogue box asking if you want to do it as admin
  3. You click yes
  4. You do it as admin

But in that case he can't have locked himself out of a file, he can only be locked out of things Microsoft think you shouldn't muck with unless you know what you're doing

[-] Balthazar@sopuli.xyz 3 points 4 months ago* (last edited 4 months ago)

On that last part, theres a difference between elevating a file to admin, and being an admin in Windows.

In a lot of cases the ui is GREATLY simplified when not an admin, to the point where you might only have like 20% of all available options.

For the standard user? Great! Not when you're messing around with permissions.

It's why you ALWAYS log in as Admin when setting up a windows server. Iirc you can't even install tiles without actually being an admin, even if you have all logins.


From my experience with windows, your current guess is correct btw :D

this post was submitted on 08 Jul 2024
638 points (96.9% liked)

Programmer Humor

32572 readers
118 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS