How to set chmod -R 777 . set groups users permission recursively in centos 8

Viewed 129

I need to set out permission set to chmod -R 777 recursively for every user and group how would I can able to do it

When applying

chmod -R 777 ./

I am able to set the permission 777 for all folders and content but not other users are able to change the permission or change the content.

1 Answers

Try the find command

$ find path/to/directory/ -exec chmod 777 {} \;
Related