Chmod to allow read and write permissions for directory
Problem
I have created directories in root. I am looking for the command to allow all users read and write permissions to a specific directory. I have done for a file but I need this for a directory. This includes permissions on all files and sub directories.
Error Output
chmod
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Chmod to allow read and write permissions for directory
For all users to have read and write access, that would be which is a bit dangerous, especially if you are running a webserver. Like @unwind said: Will allow all users read and write access to all files and folders within that directory Depending on your purpose, you may want to read about sticky bits, which allow all users to create new files, but not to delete or edit other files in a directory: Also, in case you didn't know will bring up the manual page for the command, which you can search …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix