Chown not working [closed] Chown not working [closed] linux linux

Chown not working [closed]


chown is used to change ownership of the file, not change permissions.

ls -al is not showing you who owns the file, just its permissions.

If root owns those files, you'll need to chown them properly, before you can change their permissions:

chown -R yourname:yourname folderName

Then as the owner you can change their permissions:

chmod -R 776 folderName

Edit: I double checked the syntax and it seems to be right, you'll likely need to use sudo to use them.