chmod
Synonyms:
For user uploads directory, we set the file permission separately. All the directories to 0777, and all the files to 0666. Here is how.
Set permission for user uploads folder
$[path]$
sudo find $path$ -type d -exec chmod 0777 {} +
sudo find $path$ -type f -exec chmod 0666 {} +