How to get permissons of a file/directory
Tuesday, April 22nd, 2008If you want to see permissions of a file or a directory in both human readable and octal notation issue this command: stat -c "%n %a %A" /tmp # replace /tmp with your file/dir The output is as follows: /tmp 1777 drwxrwxrwt