Answers for "change permissions directory and subdirectories command + ubuntu"

3

ubuntu change permissions on folder and subfolders

# 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 {} \;
Posted by: Guest on July-13-2021
1

find change permissions to subdirectories

sudo find /var/www/html -type d -exec chmod 755 {} \;
Posted by: Guest on June-16-2020

Code answers related to "change permissions directory and subdirectories command + ubuntu"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language