Tech Support Notes

Permissions

User rights/Permissions

  • The first character that I marked with an underscore is the special permission flag that can vary.
  • The following set of three characters (rwx) is for the owner permissions.
  • The second set of three characters (rwx) is for the Group permissions.
  • The third set of three characters (rwx) is for the All Users permissions.
r = read = 4  
w = write = 2  
x = execute = 1    
user - group - world    
-(rwx)(r-x)(r-x)
stat -c '%n %a' filename  
chmod u=rwx,go=r filename