git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Mares <mj@ucw.cz>
To: git@vger.kernel.org
Subject: Storing permissions
Date: Sun, 17 Apr 2005 01:00:58 +0200	[thread overview]
Message-ID: <20050416230058.GA10983@ucw.cz> (raw)

Hi Linus et al.,

I'm trying to use git, but I frequenty run into problems with file permissions
-- some archives (including the master git archive) contain group-writable
files, but when I check them out, the permissions get trimmed by my umask
(quite sensibly) and update-cache complains that they need update.

Does it really make sense to store full permissions in the trees? I think
that remembering the x-bit should be good enough for almost all purposes
and the other permissions should be left to the local environment.

Another possibility is to keep the permissions in the trees, but just make
update-cache ignore differences in write permissions.

				Have a nice fortnight
-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Man is the highest animal. Man does the classifying.

             reply	other threads:[~2005-04-16 22:57 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-16 23:00 Martin Mares [this message]
2005-04-16 23:19 ` Storing permissions Paul Jackson
2005-04-16 23:42   ` Junio C Hamano
2005-04-17  0:03     ` Paul Jackson
2005-04-17  5:00       ` David A. Wheeler
2005-04-17  1:01 ` Morten Welinder
2005-04-17  1:30   ` Paul Jackson
2005-04-17  4:48     ` Linus Torvalds
2005-04-17  5:32       ` Paul Jackson
2005-04-17  5:37       ` Linus Torvalds
2005-04-17  6:22       ` David A. Wheeler
2005-04-17  8:13         ` Paul Jackson
2005-04-17 14:51         ` Daniel Barkalow
2005-04-17 16:10         ` Linus Torvalds
2005-04-17 16:21           ` David A. Wheeler
2005-04-17 22:15             ` Symlinks [was Re: Storing permissions] Morten Welinder
2005-12-07 14:56             ` dotfile support Zack Brown
2005-12-07 15:28               ` Andreas Ericsson
2005-12-07 16:11                 ` Zack Brown
2005-12-07 21:51                   ` Petr Baudis
2005-12-07 15:43               ` Johannes Schindelin
2005-12-07 17:43               ` Junio C Hamano
2005-12-07 18:19                 ` Zack Brown
2005-12-07 19:05                   ` Junio C Hamano
2005-12-08  0:47               ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050416230058.GA10983@ucw.cz \
    --to=mj@ucw.cz \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).