Melakukan Chmod pada Linux per-f dan d

Melakukan Chmod pada Linux per-files dan perdirektori.

I dont know what wrong with my server or my computer. Everytime I compress the files and upload via cpanel and extract with unzip cpanel the files always have permission 600 and directory got 700.

OMG, if I do # > chmod -R 755 . of course all files include directory can be executed.

Then how ? I got my way.. uncle google help me..

#> find . -type d -exec chmod 755 {} ;
#> find . -type f -exec chmod 644 {} ;

Ok that simple but also simple to forget 🙂 Just a little notice in my web.