Answers for "assign permission to files and folder ubuntu separate"

0

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 {} \;
Posted by: Guest on September-17-2021

Code answers related to "assign permission to files and folder ubuntu separate"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language