As an addition to my previous question: Which is more widely used: chmod 777 or chmod a+rwx.If I were to use the chmod a+rwx (which I wouldn't in the real world) format, but I wanted to use the alphanumeric value of 755.How would I write that out?e.g.:$ chmod u+rwx,g+rx,o+rxThat just seems such a long expression.
How to group alphanumeric permissions
permissions
You can do all the users' r and x permissions use a+rx and then you'll just need to add u+w for the owner's permissions to grant write access.$ chmod a+rx,u+w ...This will grant r and x to every one, and just u+w to the owner.