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.
Did it work after that?
No, but this time the owner knows why it doesn’t work. Big difference in IT.
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
“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.
sudo chown…
Think about this: let’s say you run a program. Do you want that program to be able to take over the computer and read all your files from now on and send the data to a remote third party?
Probably not.
Permissions were created to stop programs from doing that. By running most software without admin permissions you limit the scope of the damage the software can cause. Software you trust even less should be run with even fewer permissions than a normal user account.
The system is imperfect though. A capability-based system is better. It allows the user to control which specific features of the operating system a running program is allowed to access. For example, a program may request access to location services in order to access your GPS coordinates. You can deny this to prevent the program from tracking you without otherwise preventing the software from running.
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!
One time Windows told me I needed admin privileges to edit s file. I had admin privileges.
You needed permission from the SYSTEM or TrustedInstaller account.
Which you can give to yourself if you are admin.
Last time I did that it didn’t work so I figured I will restart and it will recognize then. Windows got a 30 minute update.
When I logged back in my account was gone and still asked for a password. My old password didn’t work.
Recovery option also fucked my grub. (Probably just the EFI now that I think about it.)
That last bit about GRUB is why I never put Windows on the same drive as my Arch, btw install. If they both have their own EFI partitions, Windows doesn’t mess with Linux.
Wrong OS.
I am Root!
Can’t shutdown there is a running program
/Me finger immediately goes to the power switch
I still remember the biggest brainfart moment as a child. I was playing video games on my computer, and kinda just looked around. On the pc was a turbo button, so i pressed it, turbo makes games faster. I looked again and one button said power. I wonder what that doe… I’m dumb.
Windows moment
Only if you don’t know how to use Windows.
Which I am starting to suspect a ton of Linux users on here are incapable of.
Not necessarily. Linux can have files that are r—r—r— too
sudo chown -R 1000:1000 /* && sudo chmod -R 777 /*
I use:
alias thisfolderismine='sudo chown -R $USER' alias thisfileismine='sudo chown $USER'
alias iownyou='sudo chown -R 1000:1000 /* && sudo chmod -R 777 /*'
Now I’ve learned enough to know that I can easily learn what all that apparent gibberish does with the “man” command, but you have no idea how unbelievably unapproachable this makes Linux look to the uninitiated.
Create one command “iownyou” that does tbe following: Change the owner of every file on the computer to the default user and make every file readable, writeable, an executable by anyone or anything on the computer. It may not be secure, but on the bright side, you’ll never have permission issues again!
You don’t have to use the cli. But it’s nice to have the option if you want to.
Me, realizing I can’t delete Edge because the OS assumes it’s installed
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.
Just to have linux be even more ruthless with its permission schemes.
When you switch to an admin account on Windows, there are still files owned by “TrustedInstaller” that you can’t touch, and processes owned by “System” that you can’t terminate.
Linux doesn’t have that. When you switch to root, you can kill any process. You can modify or delete any file.
Sometimes (often?) at your own peril!
To anyone else following, if you’re mucking around with “I am Root/Admin. OBEY ME!!” you had better have important data backed up!
I once thought an unlisted BTRFS snapshot was an orphan folder taking up space. No permission? Nonsense! Obey my commands!
Suddenly not even terminal commands worked. (“Command ‘cd’/‘ls’/whatever not found”)
. . . it was the “writable snapshot” currently mounted, and the system was so borked it couldn’t rollback, and I needed to completely reinstall.
Fortunately I had things backed up on another drive. Live and learn! But that could have been TRAGIC.
sudo edit this file!
What the hell are you talking about? Permissions issues in Windows have absolutely nothing to do with Microsoft owning your files.
I’m not talking about just the files. I’m talking more generally.
Or just … right click to change ownership…
You don’t have to change your whole OS because you can’t access a file. I thought you Linux users knew how to use technology properly. But it seems you are “power users” instead.
Like I said to /u/entwine413 I am talking more generally, not just about literal files.
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.
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.
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.
That isn’t the reason to yeet Windows. If you were talking years ago about 7 or XP, things were different. 10 is not that great comparably, and 11 is a mess. But keep your Windows, if it’s what works for you. Until it doesn’t.
Dual boot for the best of both worlds (although I’m finding myself more and more on the Linux side because it’s better for me.)
Even Windows 11 still has all the options Windows 7 had, and plenty more. Stop swallowing the Linux propaganda.
It’s the constant war on end users that chased me away from windows.
You can’t say no to their relentless advertising. It’s “maybe later”. The pushing to require a Microsoft account. Ads in the start menu. Windows Recall.
The list goes on. You get as much agency as Microsoft allows, or you violate your eula and modify the os to remove things you don’t want.
We didn’t know it at the time, but windows 7 was peak windows.
I just riced my work computer, let me fucken tell ya about tricking out a windows machine: its fucking embarrassing. Not that its fundamentally different than customizing Linux, for both you download apps (or packages). But its a clumsy ass mess on windows that has to overlay the existing shit, on Linux the only shit that exists is what I want. I dont have to deal with an onery built in taskbar, or trick a built in window manager to be tiling. The one I pick does what I want.
It’s not propaganda if anyone can try things out for themselves, and even use them both if they want. Stop trying to keep your MS stock high.