[darcs-users] Repositories on a samba share

Jamie Webb j at jmawebb.cjb.net
Wed Nov 16 01:38:44 UTC 2005


On Tue, Nov 15, 2005 at 06:37:40PM -0600, Richard A. Smith wrote:
> The problem is that when darcs modifies the files via ssh its going to 
> change the user and groups to match the user doing the changes.  This 
> will break samba access to that file.

Have the darcs repos owned by the samba user, and have clients use the
--apply-as option to darcs push (stick it in a defaults file). Then
configure sudo on the server to allow all developers to run darcs as
the samba user without a password. Darcs will then sudo to the samba
user before modifying the repos, and consequently everything will also
use the samba group.

-- Jamie Webb




More information about the darcs-users mailing list