Posts Tagged with 777

Displaying 1-2 of 2 results.
Resolved: Ubuntu Linux remove directory from root var/www directory problem
posted by admin on February 7, 2017
I try to remove folder but terminal gave error
Command and error

rm -rf /var/www/
rm: cannot remove '/var/www/': Permission denied

I try to did it before this command and the same situation

sudo chmod -R 777 /var/www/

I try to make my user superuser but still without result

sudo adduser <username> www-data
sudo chown -R www-data:www-data /var/www
sudo chmod -R g+rwX /var/www
Read more
Resolved: Yii file save error Directory must be writable
posted by admin on April 11, 2016
I have form, and I create directory by mkdir

mkdir($mydirectory, 0777, true);

And got an error during save my file, which I try to upload from my _form.php

Directory must be writable
Read more