Every web server has a form of CHMOD which stands for change mode. It lets you change the permissions of any given folder/file, based on each user in the system.
CHMOD is one of the main reasons that all developers should learn the command line. It’s a huge part of website maintenance and working on your own server.
Read Also: 29 Linux Commands You Must Know
But, with tools like this CHMOD calculator, you’ll have an easy time creating the proper commands from scratch.
This is one of the most extensive calculators because it offers a ton of extra features. You can set the permissions directly with the three common actions:
You can also add extra flags to define more advanced functionality, all from a single GUI. These flags include the recursive feature which applies your settings to everything in the folder.
You can define the content output with flags such as
These flags display reports in the terminal after you run the CHMOD command. By default, it outputs just the error messages (if there are any) but you can also switch this to silent for showing no errors.
Once you pick all your settings, you’ll find the proper CHMOD code waiting for you to copy/paste right into the terminal.
You can also review the settings near the bottom of the page, along with links to pre-defined settings for different commands.
CHMOD is a powerful command, supported in all Linux/Unix systems. And, it’s definitely a staple for anyone working in web development, so be sure to keep this site bookmarked if you do a lot of CHMOD calls or work on your own local server setups.