sudo chown <username> <file>
chmod 700 <file>
Don’t see a problem ;) /s
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to [email protected]
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads
No advertisements or spam. This is an instance rule and the only way to live.
A collection of some classic Lemmy memes for your enjoyment
sudo chown <username> <file>
chmod 700 <file>
Don’t see a problem ;) /s
Is there a technical reason that Linux apps can't/don't just pop up an authenticator thing asking for more privileges like Windows apps can do? Why does nano just say that the file is unwriteable instead of letting me increase the privileges?
Iirc there are ways to format your command to get it to do this. So whatever app you're using just chose to format its command the simpler way.
Some do. I'm sure it is possible with terminal programs. In KDE, you do get authenticator pop-ups.
With arch+xfce4 I mostly don't. Except for when I do systemctl reload in a cli without sudo and it pops a surprise elevation password request gui in my face. I haven't figured out what makes it behave like that.
I use Arch btw 👉🧐 eats booger
I own you!
take ownership & full access of all resources
threat actor exploits a vulnerable application that is (1) running as you to (2) access resources it doesn't need: they commandeer your system
how did that happen?
🤔
I have Windows 10 Pro. I can alter the permissions for anything. If I wanted to, I could delete System32 and fuck the whole thing up.
Pretty sure you can do that for home as well, just as long as you aren't in S mode.
Otherwise, admin console and clear the file permissions.
All that being said, for your average user, if you are trying to delete a file and windows says you don't have permission, it's probably best to leave it alone.
Can you delete Xbox games installed by another administrator? I ran into that problem a few years ago because I reinstalled W10 and had it keep "personal files" which apparently included my Xbox games. I couldn't touch them at all, but I had W10 Home. I wonder if my problem could've been mitigated more easily than a full wipe of the drive? 🤔
I'm pretty sure I can. It just takes a little more effort actually going into the permissions tab of the files because Windows doesn't have an equivalent to CHMOD AFAIK.
Though, I am pretty sure you can do those basic permission options without Pro or Enterprise. You just need to be on an administrator account. Other things, like messing with actual system files, requires the Group Policy Editor.
Windows has icacls
and Get/Set-Acl
for permissions. You can also manipulate ownership, although it's quite convoluted. Just doing takeown
is the easiest.
I'm conflicted on linux vs windows in this regard. I liked ACLs in Windows, but if a software/installer decided to mess it up, it was messed up good, and required lots of manual intervention.
On any Windows system based on the NT kernel (XP+), there's an additional access level above "Administrator": NT Authority\SYSTEM
. Some malware can make files hidden or write protected even to Administrator, and afaik there isn't a legitimate way to obtain that authority
I do see the system level authority in the permissions tab; but IDK if that's just because I am on pro or not 🤷♂️
Nah removed; root owns me.
Me trying to uninstall edge
I don't know what's the hate with edge, it works wonderfully for an average user, it's fully configurable with add-ons and handles security policies really well
The AI integration might be a bit over the top but nothing you can't disable in your side
Really I don't see why you guys pile on so much on it
Microsoft's monopoly and their for-profit anti-consumer practices is what's wrong with it. Their history says they cannot be trusted. I'd ask myself why they need a browser in the first place.
Edge is a fine browser. I use it when Firefox isn't working for a particular reason.
Edge is the best browser for downloading much better browsers lol
Edge is literally the first program I use on a fresh install.
You can install firefox via cli like powershell.
winget install Mozilla.Firefox
First command I run on any new Windows install
When I want to end myself
My Body: Survival_Instincts.exe has activated
You don't even own your body lol
We are not root of our own minds