Hi Ian,

>> A feature that we definitely need is the ability to handle Unix
>> permissions internally to Darcs; the plan remains unchanged from what
>> we outlined on Darcs-devel a few weeks ago.

> Does this involve permission patches conflicting, or just commuting past
> like setprefs do? I think the latter would be a huge mistake.

I realise I've been horribly unclear.  We were not speaking about
versioning file permissions, which as you justly note is a can, er,
a tin of worms that we don't want to open right now.

What we were speaking about was the ability to specify the gid and the
umask that Darcs uses when writing to the repo.  Right now, every time
I write to the darcs-unstable repo on darcs.net, I have to do

  $ sg darcs-unstable
  $ umask 002
  $ darcs apply ...

If I forget to switch groups and change the umask, I'll create
inventory files that other people cannot modify, which will lead to
some very angry people later on if there's nobody around with root
permissions.

The plan is to put

  umask 002
  group darcs-unstable

somewhere under _darcs/prefs, and have Darcs do the necessary Unix
magic at withRepoLock time.  It's trivial but tedious (I believe I'll
have to change all calls to withRepoLock so that it takes the command
options -- do you see a better way?).

                                        Juliusz

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to