24 January 2013

Memberi owner www-data pada file di /var/www

ketikan di terminal

sudo chown www-data:www-data /var/www -R

cd /var/www

sudo find . -type f -exec chmod 644 {} \;

sudo find . -type d -exec chmod 755 {} \;

No comments:

Post a Comment