Ḹḗṃɯӳ
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alecsargent@lemmy.zip to linuxmemes@lemmy.world · 1 day ago

It's all about those little file mode bits

lemmy.zip

external-link
message-square
57
link
fedilink
200
external-link

It's all about those little file mode bits

lemmy.zip

alecsargent@lemmy.zip to linuxmemes@lemmy.world · 1 day ago
message-square
57
link
fedilink

alert-triangle
You must log in or register to comment.
  • Drunk & Root@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    12 hours ago

    real question is how do you pronounce chmod

    • daniskarma@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      “chemod”

    • Magnum, P.I.@infosec.pub
      link
      fedilink
      arrow-up
      1
      ·
      4 hours ago

      The CH from channel and then mod

    • recursivethinking@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      10 hours ago

      shmod. and then cho-wn (ch’own? cho-un?)

      and of course, hweel (jk on this one)

    • Bakkoda@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      11 hours ago

      c h mod

    • AstroLightz@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      9 hours ago

      “c h m o d”

      Just like “l s” and “p a c m a n”

    • alecsargent@lemmy.zipOP
      link
      fedilink
      arrow-up
      1
      ·
      10 hours ago

      I pronounce it chmod, you?

  • W98BSoD@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    80
    ·
    24 hours ago

    • Funkt4st1c@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      21 hours ago

      This is drake erasure and I’m LOVING EVERY MINUTE OF IT, JERRY

    • trashman@feddit.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      21 hours ago

      Yo dawg, heard you like memes

  • BigBrownBeaver@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    15 hours ago

    chmod -R ug+rwX,o=r *

  • SaharaMaleikuhm@feddit.org
    link
    fedilink
    arrow-up
    14
    ·
    21 hours ago

    Nope, +x for life

    • nibbler@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      17 hours ago

      deleted by creator

  • Nyadia@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    11
    ·
    20 hours ago

    I don’t use chmod nearly often enough to remember these numbers. I know there’s a mathematical way to figure it out, but I cba to do that when u+wrx more or less tells me exactly what it does (grant the User Write, Read, and eXecute permissions)

    • timbuck2themoon@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      42 minutes ago

      4 read, 2 write, 1 execute.

      That’s it. Add them up for whatever you want.

  • gigaqps@lemmy.world
    link
    fedilink
    arrow-up
    57
    ·
    1 day ago

    But those are different

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      45
      ·
      1 day ago

      Yeah, not only does +x leave read/write permissions untouched, it also only makes it executable for the user, not for everyone and their cat.

      • Mr.Chewy@lemmy.world
        link
        fedilink
        arrow-up
        17
        ·
        1 day ago

        Cat doesn’t execute anything tho, it just reads and gives output

        • NominatedNemesis@reddthat.com
          link
          fedilink
          arrow-up
          3
          ·
          16 hours ago

          Except if you use kitty terminal emulator with unsecure remote access. Issue

          Then with cat, you could execute arbitrary commands…

        • SaharaMaleikuhm@feddit.org
          link
          fedilink
          arrow-up
          7
          ·
          21 hours ago

          The cat command executes the cat program.

          • quantumvoid0@programming.dev
            link
            fedilink
            English
            arrow-up
            3
            ·
            18 hours ago

            What happens when u try to cat the cat program, is that considered reading or executing

            • NominatedNemesis@reddthat.com
              link
              fedilink
              arrow-up
              3
              ·
              16 hours ago

              Both, they are not mutually exclusive.

    • alecsargent@lemmy.zipOP
      link
      fedilink
      arrow-up
      2
      ·
      22 hours ago

      Had to be done for the joke. :)

  • katy ✨@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    9
    ·
    22 hours ago

    chmod -R 777 / galaxy brain

  • morto@piefed.social
    link
    fedilink
    English
    arrow-up
    58
    ·
    1 day ago

    chmod 666 so only the devil can execute it

  • WFH@lemmy.zip
    link
    fedilink
    arrow-up
    13
    ·
    1 day ago

    chmod -R 600 ~/, because I dont trust anyone, not even myself.

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      11
      ·
      22 hours ago

      I forgor the tilde and its taking a long time. wat do

      • the_strange@feddit.org
        link
        fedilink
        arrow-up
        10
        ·
        21 hours ago

        sudo rm -rf / --no-preserve-root

        Start from scratch

      • Clay_pidgin@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        17 hours ago

        Tilde is a shortcut to /home/palordrolap

        • palordrolap@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          False. It’s a shell synonym for /home/ah-ha-ha-nice-try-you-are-not-getting-my-real-homedir-name

          … it’s a PITA to type out longhand, let me tell you.

  • Maxxie@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    27
    ·
    1 day ago

    this but in reverse 🤷‍♀️

  • vala@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    16 hours ago

    chmod -R -x *

  • rumschlumpel@feddit.org
    link
    fedilink
    arrow-up
    37
    arrow-down
    2
    ·
    1 day ago

    When I start fucking with chmod, it happens way too often that what I want to do only works after I executed chmod 777…

    • quarrel4you@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      13 hours ago

      You can actually do chmod +777,u+rwx,go-w foo to make the logic easier if you want to force a starting assumption.

    • renegadespork@lemmy.jelliefrontier.net
      link
      fedilink
      English
      arrow-up
      50
      ·
      1 day ago

      May I interest you in a nice “chown”?

    • rImITywR@lemmy.world
      link
      fedilink
      English
      arrow-up
      34
      ·
      1 day ago

      chmod -R 777 /

      Why the fuck am I still getting permission errors

      • renegadespork@lemmy.jelliefrontier.net
        link
        fedilink
        English
        arrow-up
        28
        ·
        1 day ago

        sudo

      • Voytrekk@sopuli.xyz
        link
        fedilink
        arrow-up
        5
        ·
        23 hours ago

        Selinux

  • undefinedTruth@lemmy.zip
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    21 hours ago

    chmod 755 for when setting permissions to directories. chmod +x for making something executable right when I am about to run it.

  • PerogiBoi@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    21 hours ago

    Chmod 777 I live erratically without consequence.

  • neopenguin@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 day ago

    If you don’t add the leading digit (out of respect) for the sticky/setgid/setuid bits, do you even Linux?

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community – if that is a problem for you, you should leave.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don’t come looking for advice, this is not the right community.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 644 users / day
  • 2.62K users / week
  • 7.66K users / month
  • 11.4K users / 6 months
  • 1 local subscriber
  • 32.8K subscribers
  • 2.29K Posts
  • 112K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.worlddeleted by creator
  • zephyr@lemmy.world
  • Err(()).unwrap()@lemmy.world
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org