Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu add permission to folder

sudo chmod -R 777 /var/DirectoryName
Comment

set all permissions to folder in ubuntu

sudo chmod -R a+rwx path/directory
Comment

give permission to file ubuntu

sudo chmod 777 /path
Comment

how to change permissions for the whole folder in ubuntu

sudo chmod -R 777 DirectoryName
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

how assign permission to a folder and all contents in ubuntu|linux

only change the no(like 777,775 etc) according to your need 
current scenior i am giving full permission to file/sub-directories
chmod -R 777 your_directory_name
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 :: install amplify cli on mac 
Shell :: what service is listen on what port linux 
Shell :: bash for loop multiple statements 
Shell :: ubuntu list disks 
Shell :: git configure upstream 
Shell :: tag gdb follow fork 
Shell :: copy folder linux 
Shell :: ffmpeg join ts files to mp4 
Shell :: ssh scp 
Shell :: ETIMEDOUT Error while installing Node packages on Windows 
Shell :: how to update code in github 
Shell :: how to paste in emacs 
Shell :: install nano in docker container 
Shell :: install chocolatey 
Shell :: pip install pathlib 
Shell :: linux how to free memory 
Shell :: adding in ssh agent 
Shell :: how to setup wordpress in docker 
Shell :: choco chrome install 
Shell :: ubuntu install libgcc.i686 
Shell :: arch linux charcode logo 
Shell :: install tomcat on mac brew 
Shell :: wsl zsh get ip 
Shell :: wget install windows cmd 
Shell :: how to open .bin file in linux 
Shell :: ubuntu change username 
Shell :: how to exit docker 
Shell :: diff specific file git different branches 
Shell :: react native ubuntu 20.04 
Shell :: bash merge pdf 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =