1.1 --- a/README.txt Sun Aug 02 01:04:59 2015 +0200
1.2 +++ b/README.txt Sun Aug 02 14:23:40 2015 +0200
1.3 @@ -36,30 +36,14 @@
1.4
1.5 adduser www-data lmtp
1.6
1.7 -Stored and published data is then initialised as follows:
1.8 -
1.9 - mkdir /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.10 - mkdir /var/www/imip-agent/static
1.11 - chown imip-agent /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.12 - chown imip-agent /var/www/imip-agent/static
1.13 - chgrp lmtp /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.14 - chgrp lmtp /var/www/imip-agent/static
1.15 - chmod g+ws /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.16 - chmod g+ws /var/www/imip-agent/static
1.17 +Stored and published data is then initialised using the tools/init.sh script.
1.18 +The script employs the setgid flag on the directories initialised for stored
1.19 +and published data so that new files and directories have the appropriate
1.20 +group associated with them.
1.21
1.22 -Here, the setgid flag should ensure that new files and directories have the
1.23 -appropriate group associated with them.
1.24 -
1.25 -Fixing ownership can be done as follows:
1.26 -
1.27 - chown -R imip-agent /var/lib/imip-agent
1.28 - chgrp -R imip-agent /var/lib/imip-agent
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 lmtp /var/lib/imip-agent/store /var/lib/imip-agent/preferences
1.32 - chgrp -R lmtp /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 +Fixing ownership can be done using the tools/fix.sh script, in case some form
1.36 +of modification has altered the ownership or membership of the created files
1.37 +and directories.
1.38
1.39 Installing the Software
1.40 -----------------------