On Thu, Oct 7, 2010 at 7:57 AM, thomas veymont <thomas.veymont at
gmail.com>wrote:
> As far as I know, I should setup 2 distinct modules with different
> permissions, but sharing the same physical directory.
>
Right. That's the only solution for now. The patch you cited (which should
eventually be promoted to the 3.1.0dev code) does allow differentiation of
ro/rw based on user, but some kind of user/group login is required (e.g.
password-less anonymous access won't ever succeed for a module that has auth
defined).
One thing that can help out with the configuration of multiple modules is
available if you're using the 3.1.0dev (git) release, you can use a
"&merge
file" directive to read the common settings from one place:
[foobar]
&merge /some/foobar.conf
read only = yes
[foobar-auth]
&merge /some/foobar.conf
read only = no
auth users = joe sam jane
You'd put the "path = /whatever" (etc.) settings in the
foobar.conf file.
..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20101009/f0fcbd0d/attachment.html>