632
you are viewing a single comment's thread
view the rest of the comments
[-] Lemzlez@lemmy.world 7 points 4 months ago

It’s quite common to login as admin on windows though (in home setups), you’ll still have to authenticate for administrative tasks (the UAC popups).

The issue here is mostly that the user has probably upgraded and windows changed their account, resulting in the files being owned by their old account.

In linux, that’s fixable with ‘sudo chmod -R’

In Windows, there’s no built-in way, you need the take ownership script.

[-] JoeDyrt57@lemmy.ml 1 points 4 months ago

I am the installer and only user of my pc, but Windows neeeds other users. Note: Phil is USERS not ADMIN! Not even Authenticated Users.

[-] billgamesh@lemmy.ml 1 points 4 months ago

i mean, chown is just a binary. takeown is probably pretty similar, right?

[-] Lemzlez@lemmy.world 1 points 4 months ago

Pretty much, yeah

I assume the equivalent would just be ‘takeown /r

As far as I can tell it always uses the currently logged in user as target though

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

Programmer Humor

32479 readers
493 users here now

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

Rules:

founded 5 years ago
MODERATORS