Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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 {} ;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #assign #permission #files #folder #ubuntu #separate
ADD COMMENT
Topic
Name
5+7 =