From: Matt Schoen <mtschoen@gmail.com>
To: Thomas Rast <trast@student.ethz.ch>
Cc: Jay Soffian <jaysoffian@gmail.com>,
git@vger.kernel.org, euguess@gmail.com
Subject: Re: get git not to care about permissions
Date: Thu, 12 Nov 2009 16:44:29 -0500 [thread overview]
Message-ID: <3cf217d80911121344w7d1809ebs103eaa2ac19a03a6@mail.gmail.com> (raw)
In-Reply-To: <200911121710.44314.trast@student.ethz.ch>
On Thu, Nov 12, 2009 at 11:10 AM, Thomas Rast <trast@student.ethz.ch> wrote:
> It prints an absolute path, so the open() also accesses an absolute
> path (though I don't know why it insists on that).
>
> But the above directory listing would indicate that you do not even
> have permission to look inside your $(pwd) by absolute path...
I'm pretty sure I can. How can I test this? I can ls all
subdirectories within the path, and when I navigate to the path, I
usually do it absolutely. After all, this is a network share, so I
have to start with "/ad/eng/...". Although, this is curious. Some of
the directories show "d---------" when I do ls -al. They were created
by root in the same environment (forced 700), but I can still read
their contents, and such.
Does open() strictly require the permissions you give it? Like I
mentioned, the permissions are locked at 700. Even if I try to chmod
777 the directory, I see no error, but the permissions remain
unchanged. I'm thinking of doing a custom compile, removing those
places where specific permissions are needed. My fear is that those
places are many...
next prev parent reply other threads:[~2009-11-12 21:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 16:06 get git not to care about permissions sconeman
2009-11-12 5:44 ` Jay Soffian
2009-11-12 15:44 ` Matt Schoen
2009-11-12 16:10 ` Thomas Rast
2009-11-12 21:44 ` Matt Schoen [this message]
2009-11-15 12:31 ` Thomas Rast
[not found] ` <76c5b8580911111327k43daece9s2e71d0a2b8adcebd@mail.gmail.com>
[not found] ` <76c5b8580911111334p76232995qbd6bf6b06d250854@mail.gmail.com>
2009-11-12 15:28 ` Eugene Sajine
2009-11-12 15:47 ` Matt Schoen
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=3cf217d80911121344w7d1809ebs103eaa2ac19a03a6@mail.gmail.com \
--to=mtschoen@gmail.com \
--cc=euguess@gmail.com \
--cc=git@vger.kernel.org \
--cc=jaysoffian@gmail.com \
--cc=trast@student.ethz.ch \
/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).