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
folder write permissions linux
sudo chown -R $USER /usr/local/lib/node_modules
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
linux chmod permissions
The three rightmost digits define permissions for the:
file user, the group, and others.
# Permission rwx Binary
7 read, write and execute rwx 111
6 read and write rw- 110
5 read and execute r-x 101
4 read only r-- 100
3 write and execute -wx 011
2 write only -w- 010
1 execute only --x 001
0 none --- 000
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