This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
after chmod to 775 and reversing to 755, i had errors such as: | |
The selected file /tmp/file9kryvl could not be uploaded, because the destination sites/default/files/css/css_a5fe171ec6ef6dbf025f1b7fb1e4b78b.css is not properly configured. | |
The selected file /tmp/filePY11z6 could not be uploaded, because the destination sites/default/files/js/js_9eb6a4659c6cd03efedd85f2d3ae96b6.js is not properly configured. | |
The selected file /tmp/fileqtpqQR could not be uploaded, because the destination sites/default/files/js/js_064419d14a77f293c45395e1d45e50b8.js is not properly configured. | |
------------------------------------------------------------------------------------ | |
fix: | |
chmod -R u+rwX,go+rX,go-w sites/default/files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
USER="user" | |
DOMAIN="DOMAIN" | |
#set the site here | |
SITE="/home/$USER/public_html/$DOMAIN" | |
# group is apache user (ex: www-data) | |
USER=$USER:www-data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps aux | grep apache | |
www-data 4752 0.1 5.4 53368 27740 ? S 16:36 0:04 /usr/sbin/apache2 -k start | |
www-data 4756 0.0 5.1 52828 26416 ? S 16:36 0:01 /usr/sbin/apache2 -k start | |
www-data 4757 0.0 5.1 53020 26432 ? S 16:36 0:00 /usr/sbin/apache2 -k start | |
www-data 4762 0.0 1.6 35540 8340 ? S 16:36 0:00 /usr/sbin/apache2 -k start | |
www-data 5059 0.0 1.0 34392 5192 ? S 17:20 0:00 /usr/sbin/apache2 -k start | |
www-data 5071 0.0 4.9 52712 25384 ? S 17:21 0:00 /usr/sbin/apache2 -k start | |
myuser 5344 0.0 0.1 3372 756 pts/0 S+ 17:36 0:00 grep --color=auto apache | |
root 15076 0.0 1.6 34176 8608 ? Ss Aug20 1:12 /usr/sbin/apache2 -k start |
NewerOlder