Out of the two options to change permissions:chmod 777 file.txtchmod a+rwx file.txtI am writing a document to send out to our customers, detailing that they need to change the file permissions of a certain file. I want to detail it as the most common way of changing file permissions.Currently is says:- Set permissions on file.txt as per the example below:    - chmod 777 /tmp/file.txtThis is just an example, and won't change files to have full permissions for everyone.
Which is more widely used: chmod 777 or chmod a+rwx
permissions
Google gives:1,030,000 results for 'chmod 777'371,000 results for 'chmod a+rwx'chmod 777 is about 3 times more popular.That said, I prefer using long options in documentation and scripts, because they are self-documenting.  If you are following up your instructions with Run ls -l | grep file.txt and verify permissions, you may want to use chmod a+rwx because that's how ls will display the permissions.