- Why I cannot create a directory permission denied?
- What is permission denied error while creating directory in Linux?
Why I cannot create a directory permission denied?
If you receive an error telling you that you do not have permissions to create a directory or to write a file to a directory, this is likely an indication that your script is attempting to write to a directory that you do not own.
What is permission denied error while creating directory in Linux?
This error occurs when the user does not have the privileges to make edits to a file. Root has access to all files and folders and can make any edits. Other users, however, may not be allowed to make such edits. Remember that only root or users with Sudo privileges can change permissions for files and folders.