this post was submitted on 27 Jun 2025
1274 points (99.3% liked)

memes

15915 readers
3175 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] AdrianTheFrog@lemmy.world 12 points 3 days ago* (last edited 3 days ago) (9 children)

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?

[–] black0ut@pawb.social 3 points 2 days ago (1 children)

Linux apps follow simplicity principles. If you don't have permission to delete a file, why assume you may know the password of the user who has permission?

You can preface sudo to any command to execute it with root privileges, which would be similar to running as admin in windows.

Graphical apps do tend to ask for authentication if it makes sense. No userland apps should need more permissions than the current user's in order to run.

[–] NiHaDuncan@lemmy.world 2 points 2 days ago

Small pedantic correction, but you can’t preface every command with sudo; only executables can be invoked with sudo as it can’t elevate your current shell. Naturally, the way to execute non-executables such as builtin routines as root is to just spawn into a root shell with sudo su.

load more comments (7 replies)