Indefero

Indefero Commit Details


Date:2011-06-04 18:04:14 (13 years 6 months ago)
Author:Thomas Keller
Branch:develop, feature.content-md5, feature.diff-whitespace, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, release-1.2, release-1.3
Commit:2f6e0f0a22995739118d6a14ef8538eb9af2219a
Parents: 1b1b00a10c2cca8c0460b8731c445098e870da1b
Message:Include examples how to setup ACLs for different platforms.

Changes:

File differences

doc/syncmonotone.mdtext
2525
2626
2727
28
28
2929
3030
3131
......
115115
116116
117117
118
119
118
119
120
120121
122
123
124
121125
122126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
123145
124146
125147
please follow the `INSTALL` document which comes with the software.
It contains detailed instructions, including all needed dependencies.
## Choose your indefero setup
## Choose your indefero (IDF) setup
The monotone plugin can be used in several different ways:
Your indefero www user needs later write access to `usher.conf` and
`projects/`. There are two ways of setting this up:
* Make the usher user the web user, for example via Apache's `suexec`
* Use acls, like this:
* Make the usher user the web user, for example via Apache's `suexec`.
This is however a bit clumsy.
* Preferred: Use Access Control Lists (ACLs), like this:
#
# Linux
#
$ setfacl -m u:www:rw usher.conf
$ setfacl -m d:u:www:rwx projects/
$ setfacl -m d:u:usher:rwx projects/
#
# FreeBSD
#
$ setfacl -m user:www:rw::allow usher.conf
$ setfacl -m user:www:rwxp:fd:allow projects/
$ setfacl -m user:usher:rwxp:fd:allow projects/
#
# Mac OS X
#
chmod +a '_www allow read,write' usher.conf
chmod +a '_www allow read,write,delete,file_inherit,directory_inherit' projects/
chmod +a 'usher allow read,write,delete,file_inherit,directory_inherit' projects/
In each example's last line, `usher` is the user which is executing
the usher instance. **It is very important to add this line, otherwise
usher won't be able to read and write into the initial file system
setup IDF creates!**
5. Wrap a daemonizer around usher, for example supervise from daemontools
(<http://cr.yp.to/damontools.html>):

Archive Download the corresponding diff file

Page rendered in 0.08726s using 13 queries.