this post was submitted on 02 Jul 2023
370 points (96.7% liked)

linuxmemes

20688 readers
1233 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
370
sudo touch grass (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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
[–] [email protected] 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

[–] [email protected] 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.

[–] [email protected] 3 points 1 year ago

Oh, silly me :3