Skip to content
Advertisement

Unable to configure folder permissions in Ubuntu

I found many related questions and tried to solve the issue but I was not successful. Actually I created an user named “amit” and assigned the group “www-data”. I gave permission to the folder using this method

JavaScript

Change folder and file permission recursively: To change all the directories to 755 (-rwxr-xr-x):

JavaScript

To change all the files to 644 (-rw-r–r–):

JavaScript

But in joomla system info when i check i get all directories as non writable. So I changes this command to

JavaScript

Surprisingly this worked. I need to know why the created user didn’t work but this one worked, where did I miss something?

Advertisement

Answer

Applying chmod 755 (rwxr-xr-x) for directories and chmod 644 (rw-r–r–) for files just makes the writable for the owner, but not for the group. If you want to grant the group write permissions then you need 775 and 664.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement