criticalbasics
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alecsargent@lemmy.zip to linuxmemes@lemmy.world · 1 month ago

It's all about those little file mode bits

lemmy.zip

external-link
message-square
17
link
fedilink
4
external-link

It's all about those little file mode bits

lemmy.zip

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

alert-triangle
You must log in or register to comment.
  • W98BSoD@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

  • hazelnot@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    Right click -> Properties -> Permissions -> Allow executing file as program 😎

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

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

  • undefinedTruth@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

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

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

    But those are different

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 month 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
        0
        ·
        1 month ago

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

  • red_bull_of_juarez@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    u=rwX,g=rX,o=rX because this won’t make every file executable, only folders.

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

    chmod 666 so only the devil can execute it

  • katy ✨@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    chmod -R 777 / galaxy brain

  • Drunk & Root@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    real question is how do you pronounce chmod

    • Bakkoda@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      c h mod

    • flandish@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      “change mod”

  • rumschlumpel@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    1 month 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…

    • rImITywR@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      chmod -R 777 /

      Why the fuck am I still getting permission errors

      • Voytrekk@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        Selinux

    • quarrel4you@piefed.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month 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.

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.

  • 123 users / day
  • 1.91K users / week
  • 6.06K users / month
  • 8.84K users / 6 months
  • 1 local subscriber
  • 33.2K subscribers
  • 2.29K Posts
  • 78.4K 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