[darcs-users] Using darcs over SSH with more then one user

Jeroen Budts jeroen at lightyear.be
Thu Oct 6 17:11:06 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

After trying and experimenting a bit i got darcs up and running on my
dreamhost account (http://dreamhost.com). I have also set up
passwordless ssh, so now i can push changes from a local darcs repo to a
repo on my webspace.
Now i'm wondering what's the best method to give other people access to
my repos.

For read-only access i guess i can simply create a 'symlink' or
something (i'm not yet very linux savy) from a place accessible by the
webserver to the repo i want to make available? (something like
~/mydomain.com/repos/foobar --> ~/repos/foobar)

For write access i'm not really sure what i should do...
Should i create a user ('repo-user'), which will own that repo (and thus
the repo will be in that users' home directory) and just let every
developer create a private and public key for ssh, so that i can add all
those public keys to the repo-users' authorized_keys?

or should i give every developer their own user on the dreamhost server
and tell darcs somehow to chmod all files so that they are
readable/writable by the group those users are in?

thx in advance!
Greetz,
Jeroen


- --
<TeRanEX/>
 --- e-mail:   jeroen at lightyear.be - jid: teranex at jabber.org
 --- blog: http://budts.be/weblog/ - cv:  http://budts.be/jeroen/
 --- projects: http://lightyear.be - pgp: 0x8B7B774A

___________________________________
GetFirefox.com - rediscover the web

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDRVqoH04wF4t7d0oRAkFfAJ9Z5jr8TVs02waIW53aiRWMR2DmawCfaGoB
GrMwgYFNerBY5790R6M7Jf8=
=xZP6
-----END PGP SIGNATURE-----





More information about the darcs-users mailing list