<code>find /opt/lampp/htdocs -type d -exec chmod 755 {} \; </code> <code>find /opt/lampp/htdocs -type f -exec chmod 644 {} \;</code> աղբյուր http://stackoverflow.com/questions/3740152/how-to-set-chmod-for-a-folder-and-all-of-its-subfolders-and-files-in-linux-ubunt