darcs

Issue 50 flags to control umask and group when running darcs

Title flags to control umask and group when running darcs
Priority wishlist Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, jch, kowey, thorkilnaur, tommy
Assigned To jch
Topics

Created on 2005-12-08.12:11:38 by droundy, last changed 2009-08-27.13:49:24 by admin.

Messages
msg185 (view) Author: droundy Date: 2005-12-08.12:11:38
(Copied from email sent to me by Juliusz...)

> Juliusz, I agree that it does seem like it would be a good idea to add some
> sort of umask config options to darcs.

  darcs apply --umask 0220 --group darcs-unstable

--user is not useful, unless you're running Darcs as root (although
I'm not sure... things like selinux might still find it useful).
msg258 (view) Author: dagit Date: 2005-12-22.08:52:30
It's possible to use posthooks to get a similar result.  In fact, with posthooks
you can use whatever script you want to compute the file permissions/group at
apply time.  I've done this with a repository I was managing and it worked
decently.  Perhaps it just needs to be in the manual.
msg604 (view) Author: jch Date: 2006-04-07.23:10:20
A patch is pending for that (waiting for people to comment before pushing it).

  - I've discarded --uid and --gid, as the setgid directory hack is a simpler and
    more familiar solution to this problem;
  - --umask is implemented.
msg1773 (view) Author: tommy Date: 2007-06-29.19:43:37
fixed in 1.0.9
History
Date User Action Args
2005-12-08 12:11:38droundycreate
2005-12-08 12:12:50droundysetnosy: + jch
2005-12-22 08:52:30dagitsetstatus: unread -> unknown
nosy: + dagit
messages: + msg258
2006-04-07 23:10:22jchsetnosy: droundy, jch, tommy, dagit
messages: + msg604
2006-04-07 23:21:07jchsetstatus: unknown -> has-patch
nosy: droundy, jch, tommy, dagit
2006-04-23 18:24:30jchsetstatus: has-patch -> resolved-in-unstable
nosy: droundy, jch, tommy, dagit
2006-09-30 12:21:40tommysetstatus: resolved-in-unstable -> resolved-in-stable
nosy: + kowey
2007-06-29 19:43:37tommysetstatus: resolved-in-stable -> resolved
nosy: + beschmi
messages: + msg1773
2009-08-06 17:43:44adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, jch
2009-08-06 20:40:39adminsetnosy: - beschmi
2009-08-10 22:07:01adminsetnosy: + jch, - markstos, darcs-devel, zooko, jast, Serware, mornfall
2009-08-11 00:01:54adminsetnosy: - dagit
2009-08-25 17:56:50adminsetnosy: + darcs-devel, - simon
2009-08-27 13:49:24adminsetnosy: jch, tommy, kowey, darcs-devel, thorkilnaur, dmitry.kurochkin