Archive
| Mo | Tu | We | Th | Fr | Sa | Su | |
|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | ||||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 | |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 | |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 | |
| 26 | 27 | 28 | 29 | 30 | 31 | ||
Poll: Indonesia
Masihkah Indonesia lebih baik ?
Did you enjoy this article?
(total 0 votes)
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.
Post your comment
Comments (1 posted)
-
Posted by dono, 17 February, 2008 23:01:33dont forget about the find . -type d -exec chmod 755 {} /; / behind the code or u will got find: missing argument to `-exec'








