I want to know the octal expression of the linux file permission command:
-rwxr-xr-t
I want to know the octal expression of the linux file permission command:
-rwxr-xr-t
The stat
command should be able to handle this:
stat -c "%a %n" /path/to/your/file
Your specific file permissions are represented by the octal 1755
chmod
s will allow you to use symbolic mode e.g.chmod u=gwx,go=rX,+t
– ctrl-alt-delor Feb 07 '19 at 20:20