Unix File Permissions Calculator

 Convert Unix file permissions between octal and absolute notations using an open-source calculator developed in JavaScript

Working regularly with Unix file permissions means learning to convert between octal (e.g. 7777) and absolute (e.g. drwxrwxrwx) notation types. I used other calculators to learn the octal codes when I first started learning shell to change file permissions (e.g. chmod 777), but could not find anywhere to convert directly between octal and absolute. Until you can do this in your head, you can use the below calculator!

Input data into one of the boxes below to calculate the permissions in other formats

Unix File Permissions Calculator

Permission String:

Permission Code: 

 

This project is licensed under the GNU Lesser GPL, so feel free to view or use the source code.

Leave a Reply

Your email address will not be published. Required fields are marked *