Browse Source

Blog permissions

Bob Mottram 10 years ago
parent
commit
45521d9f8a
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      install-freedombone.sh

+ 3
- 1
install-freedombone.sh View File

@@ -122,7 +122,8 @@ TLS_TIME_SOURCE1="google.com"
122 122
 TLS_TIME_SOURCE2="www.ptb.de"
123 123
 
124 124
 # kernel specifically tweaked for the Beaglebone Black
125
-KERNEL_VERSION="v3.15.10-bone7"
125
+# See http://rcn-ee.net/deb/jessie-armhf/
126
+KERNEL_VERSION="v3.15.10-bone8"
126 127
 
127 128
 # Whether or not to use the beaglebone's hardware random number generator
128 129
 USE_HWRNG="yes"
@@ -3894,6 +3895,7 @@ function install_blog {
3894 3895
 
3895 3896
   cd /var/www/$FULLBLOG_DOMAIN_NAME
3896 3897
   git clone https://github.com/danpros/htmly htdocs
3898
+  chown -R www-data:www-data /var/www/$FULLBLOG_DOMAIN_NAME/htdocs
3897 3899
 
3898 3900
   if [ ! -f /etc/ssl/private/$FULLBLOG_DOMAIN_NAME.key ]; then
3899 3901
       makecert $FULLBLOG_DOMAIN_NAME