About 1,830,000 results
Open links in new tab
  1. What does "chmod +x <filename>" do and how do I use it?

    Jul 7, 2017 · I want to write the Ubuntu analogue of a "batch file" (a shell script). But I don't know how to use chmod +x filename command to make it so that the script can be run. Nor do I …

  2. bash - 'chmod u+x' versus 'chmod +x' - Ask Ubuntu

    Mar 27, 2019 · What is the difference between chmod u+x and just chmod +x? I have seen a ton of tutorials that say to use u+x to make scripts executable. However, omitting the u doesn't …

  3. What is the difference between "chmod +x" and "chmod 755"?

    Jul 7, 2017 · After chmod 755 is ran on a file, its permissions will be 755, or rwxr-xr-x. chmod +x will just take the existing permissions, and add execute permissions to the file.

  4. What's the difference between `chmod a+x` and `chmod +x`?

    Mar 15, 2021 · Found an article saying to use chmod a+x to add execute permission to a file. What is the difference between it and chmod +x? (And is there an easy way to search about …

  5. Make script executable: chmod +x vs. a+x vs. a+rx

    Mar 16, 2025 · Option 1: chmod +x script.sh Option 2: chmod a+x script.sh Option 3: chmod a+rx script.sh Here are two questions. Q1. What does it actually mean that the first and second …

  6. How to add +x just for user with chmod? - Super User

    Mar 11, 2014 · chmod u+x <file> Where u=user, g=group, o=others. If you want to enforce the permissions you mentioned, this would be the ideal:

  7. What is a capital X in posix / chmod? - Unix & Linux Stack Exchange

    From the man chmod : The letters rwxXst select file mode bits for the affected users: read (r), write (w), execute (or search for directories) (x), execute/search only if the file is a directory or …

  8. What does the argument " +x - Unix & Linux Stack Exchange

    Jun 22, 2016 · 2 The " +x " to which you refer is the symbolic mode argument to chmod. As given, and assuming that your chmod comes from Gnu Coreutils, that argument directs chmod to set …

  9. bash - Chmod equivalence of +x and 0755 - Super User

    Dec 19, 2016 · A file whose permissions were 000 before chmod +x will now be 111. Conversely, a file whose permissions were 0775 before (read+write+execute for owner and group; read …

  10. What is the meaning of chmod -R a-x,a=rX,u+w?

    Jul 22, 2022 · a-x clears the executable bit for everyone (user, group, other). a=rX sets the read bit for everyone, and the executable bit on directories; see What is a capital X in posix / …