Bug#341599: Creates files in _darcs/patches with mode 600

2007-06-30 Thread Tommy Pettersson
The --umask feature is now part of stable darcs 1.0.9.


-- 
Tommy Pettersson [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#341599: Creates files in _darcs/patches with mode 600

2006-04-11 Thread Juliusz Chroboczek
Note that current darcs-unstable has the ability to enforce the umask
from Darcs itself.  Just put

  ALL umask=022

in your defaults file, and Darcs will switch umasks before writing.
This is, however, almost completely untested, as it got into d-u just
today.

Juliusz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#341599: Creates files in _darcs/patches with mode 600

2005-12-01 Thread Daniel Burrows
Package: darcs
Version: 1.0.4-2
Severity: normal

  Even though my umask is 022, darcs seems to create patches with mode 600,
or perhaps set them to mode 600 from time to time.  This is rather annoying 
if you want to publish a repository for other people to pull from:

[EMAIL PROTECTED]:/tmp$ darcs get 
http://people.debian.org/~dburrows/darcs/aptitude aptitude
Copying patch 14 of 283...
darcs failed:  Failed to download URL 
http://people.debian.org/~dburrows/darcs/aptitude/_darcs/patches/20051121094326-12edc-dbec11d3b239c0c68df0f3086335eee5e131dc7a.gz
libcurl: HTTP error (404?)

  BTW, the HTTP error reported is also wrong; it's 403 Forbidden.

  Daniel

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental'), (1, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages darcs depends on:
ii  libc6 2.3.5-8.1  GNU C Library: Shared libraries an
ii  libcomerr21.38-2 common error description library
ii  libcurl3  7.15.0-5   Multi-protocol file transfer libra
ii  libgmp3c2 4.1.4-11   Multiprecision arithmetic library
ii  libidn11  0.5.18-1   GNU libidn library, implementation
ii  libkrb53  1.3.6-5MIT Kerberos runtime libraries
ii  libncurses5   5.5-1  Shared libraries for terminal hand
ii  libreadline5  5.0-11 GNU readline and history libraries
ii  libssl0.9.8   0.9.8a-4   SSL shared libraries
ii  zlib1g1:1.2.3-8  compression library - runtime

Versions of packages darcs recommends:
ii  esmtp-run [mail-transport-age 0.5.1-3User configurable relay-only MTA

-- no debconf information


signature.asc
Description: Digital signature


Bug#341599: Creates files in _darcs/patches with mode 600

2005-12-01 Thread David Roundy
On Thu, Dec 01, 2005 at 08:13:08AM -0800, Daniel Burrows wrote:
   Even though my umask is 022, darcs seems to create patches with mode 600,
 or perhaps set them to mode 600 from time to time.  This is rather annoying 
 if you want to publish a repository for other people to pull from:

The most likely culprit is if you're running darcs apply from a mailer.
Mailers generally modify the umask before piping to an external command.  I
have an entry like

macro pager A pipe-entry(umask 022; darcs apply --no-test --repodir ~/darcs)

in my .muttrc to work around this feature in mutt.
-- 
David Roundy


signature.asc
Description: Digital signature