1.1 --- a/README.txt Mon Jan 12 20:02:24 2015 +0100
1.2 +++ b/README.txt Mon Jan 12 23:07:33 2015 +0100
1.3 @@ -28,10 +28,14 @@
1.4 Store details and published resources need to be accessible by the imip-agent
1.5 and www-data users:
1.6
1.7 - mkdir /var/lib/imip-agent/store /var/www/imip-agent/static
1.8 - chown imip-agent /var/lib/imip-agent/store /var/www/imip-agent/static
1.9 - chgrp www-data /var/lib/imip-agent/store /var/www/imip-agent/static
1.10 - chmod g+s /var/lib/imip-agent/store /var/www/imip-agent/static
1.11 + mkdir /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.12 + mkdir /var/www/imip-agent/static
1.13 + chown imip-agent /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.14 + chown imip-agent /var/www/imip-agent/static
1.15 + chgrp www-data /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.16 + chgrp www-data /var/www/imip-agent/static
1.17 + chmod g+ws /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.18 + chmod g+ws /var/www/imip-agent/static
1.19
1.20 Here, the setgid flag should ensure that new files and directories have the
1.21 appropriate group associated with them.
1.22 @@ -40,9 +44,12 @@
1.23
1.24 chown -R imip-agent /var/lib/imip-agent
1.25 chgrp -R imip-agent /var/lib/imip-agent
1.26 - chown -R imip-agent /var/lib/imip-agent/store /var/www/imip-agent/static
1.27 - chgrp -R www-data /var/lib/imip-agent/store /var/www/imip-agent/static
1.28 - chmod -R g+w /var/lib/imip-agent/store /var/www/imip-agent/static
1.29 + chown -R imip-agent /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.30 + chown -R imip-agent /var/www/imip-agent/static
1.31 + chgrp -R www-data /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.32 + chgrp -R www-data /var/www/imip-agent/static
1.33 + chmod -R g+w /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.34 + chmod -R g+w /var/www/imip-agent/static
1.35
1.36 Installing the Software
1.37 -----------------------