Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu add permission to folder

sudo chmod -R 777 /var/DirectoryName
Comment

give permission to file ubuntu

sudo chmod 777 /path
Comment

give permission to user in ubuntu

sudo chown -R testuser:testuser /var/www/test/public_html
Comment

giving permission to folder in ubuntu

chmod -R a+rwx path
Comment

assign permission to files and folder ubuntu separate

To change all the directories to 755 (drwxr-xr-x):
find /opt/lampp/htdocs -type d -exec chmod 755 {} ;

To change all the files to 644 (-rw-r--r--):
find /opt/lampp/htdocs -type f -exec chmod 644 {} ;
Comment

PREVIOUS NEXT
Code Example
Shell :: bash install apache 
Shell :: list interfaces centos 
Shell :: install gnome sushi 
Shell :: remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. 
Shell :: redisclient apt get 
Shell :: git download all submodules 
Shell :: download notes app in ubuntu 
Shell :: driver san francisco ui mode error 
Shell :: bash print array 
Shell :: ionic capacitor ios live reload 
Shell :: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)! 
Shell :: create branch with local changes 
Shell :: clone a branch 
Shell :: tesseract installation in Arch linux 
Shell :: view git username 
Shell :: git delete last commit after push 
Shell :: .desktop file 
Shell :: delete local branches not on remote 
Shell :: nextjs init 
Shell :: ansible command not found after pip install macos 
Shell :: apache basic auth setup 
Shell :: how to install gnome user theme extension 
Shell :: how to update ionic 
Shell :: how to check what version of cmake installed 
Shell :: count number of files linux 
Shell :: delete distro 
Shell :: update gnome shell 
Shell :: pip install import export django 
Shell :: pip install txt 
Shell :: install readline-sync 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =