Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux give permission to folder

sudo chmod -R a+rwx /path/to/folder
Comment

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 
Comment

PREVIOUS NEXT
Code Example
Shell :: apache install 
Shell :: homebrew without sudo 
Shell :: open folder 
Shell :: how to open a folder using terminal 
Shell :: find ip curl 
Shell :: start of .sh file 
Shell :: add git in project 
Shell :: bash for loop 
Shell :: bash get path of command 
Shell :: bash two for loops 
Shell :: angular reduce vendor.js size 
Shell :: install from package.json 
Shell :: ERROR: No matching distribution found for torch.fx 
Shell :: delete first two lines of file linux 
Shell :: how to use github to setup projects 
Shell :: rdp github shadow 
Shell :: mvn clean install skip checkstyle 
Shell :: umask examples 
Shell :: docker NoRouteToHostException: No route to host (Host unreachable) 
Shell :: particular screenshot in ubuntu 
Shell :: permissions do not allow pasting files in this directory 
Shell :: download fbreader for ubuntu 
Shell :: update branch with master 
Shell :: online c linux compiler 
Shell :: how to set gopath/bin linux 
Shell :: docker format 
Shell :: download istioctl 
Shell :: mariadb delete database 
Shell :: install radium 
Shell :: remove branch not published yet 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =