linux give permission to folder
sudo chmod -R a+rwx /path/to/folder
linux give permission to folder
sudo chmod -R a+rwx /path/to/folder
linux give full permission to directory
# Change permissions for the root file/dir only
chmod 777 path/to/directory/
# Or
chmod 777 path/to/file
# Change permission for root dir and all files/dirs within
chmod -R 777 path/to/directory/
folder write permissions linux
sudo chown -R $USER /usr/local/lib/node_modules
how to give permission to a user in linux on a folder
sudo chmod u+w myfolder
assigning permissions to folder and files in linux
sudo find /folder/path/public_html -type f -exec chmod 644 {} ;
sudo find /folder/path/public_html -type d -exec chmod 755 {} ;
sudo find . -type f -exec chmod 664 {} ;
sudo find . -type d -exec chmod 775 {} ;
sudo chown -R $USER:www-data .
### Assign permission to web users for writting folder
sudo chgrp -R www-data storage/framework storage/logs bootstrap/cache
sudo chmod -R ug+rwx storage/framework storage/logs bootstrap/cache
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us