this post was submitted on 02 Jul 2023
396 points (100.0% liked)

linuxmemes

20707 readers
1201 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
396
sudo touch grass (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by Seven@lemmy.world to c/linuxmemes@lemmy.world
 

Username is not in the sudoers file. This incident will be reported.

you are viewing a single comment's thread
view the rest of the comments
[–] angel@iusearchlinux.fyi 24 points 1 year ago (3 children)

The explanation is most likely incorrect though. A more obvious cause of this error is that the current working is the root directory (/) and that they’re logged in as a non-root user, thus trying to create the file /woman without sufficient permissions.

[–] Seven@lemmy.world 9 points 1 year ago (1 children)

POV
YOU ARE A LINUX USER ~/s~ ^also^ ^anti-meme^ ~lol~

[–] pewpew@feddit.it 4 points 1 year ago* (last edited 1 year ago) (2 children)
[–] cyanarchy@sh.itjust.works 1 points 1 year ago (1 children)
[–] warmaster@lemmy.world 2 points 1 year ago (1 children)
[–] cyanarchy@sh.itjust.works 3 points 1 year ago

STOP

Stallman-Torvalds Operating Paradigm

[–] Seven@lemmy.world 0 points 1 year ago

POV: You are RMS

[–] seliaste@lemmy.blahaj.zone 3 points 1 year ago* (last edited 1 year ago) (1 children)

There are other directories where it can happen, and root is not the only one of them.

There are also directories that you cannot read sometimes, like /var/lib/docker/volumes if you use docker

[–] angel@iusearchlinux.fyi 5 points 1 year ago (1 children)

Sure, but in this case the bash prompt tells us that it’s located in the root directory.

[–] seliaste@lemmy.blahaj.zone 2 points 1 year ago

Oh, silly me :3

[–] Tartas1995@discuss.tchncs.de 3 points 1 year ago

Technically he is also wrong about what touch does. The purpose of touch is to update the timestamp of a file and only if the file doesn't exist, the file gets created.