git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: get git not to care about permissions

From
ESEugene Sajine <euguess@gmail.com>
Date
Nov 12, 2009, 15:28 UTC
Message-ID
<76c5b8580911120728j2f9995basb554b0a493a364bf@mail.gmail.com>
In-Reply-To
<76c5b8580911111334p76232995qbd6bf6b06d250854@mail.gmail.com>
Show 21 quoted lines
>>
>> On Nov 9, 2009 11:06 AM, "sconeman" <schoen@bu.edu> wrote:
>>
>>
>> Hello,
>>
>> I'm trying to set up git on a NetApp drive at my school, BU.  The NetApp
>> shares are configured with Windows permissions, and I forget the specifics
>> (which I can figure out if needed) about why this is the case, but basically
>> the deal is that if true UNIX permissions were to be used, Windows wouldn't
>> be able to read the drive.  As such, and because we use the Kerberos
>> ticketing system, the permissions for the drive are set up such that the
>> owners (myself and my team members) have full permissions, but nobody else
>> does.  Git doesn't like this and won't even create a bare repository.  Is
>> there any way I can get git to ignore permissions and just do what it needs
>> to do?
>>
>> Thanks in advance for the help!
>>
>> -Matt
> --
On Wed, Nov 11, 2009 at 4:34 PM, Eugene Sajine <euguess@gmail.com> wrote:
Show 10 quoted lines
> Hi,
>
> I had almost similar issue - bare repos in my case should be set up under
> user which only few guys are having password from. So what I did is just a
> small program which creates the bare repo locally and makes secure copy to
> this user home. All authentication is hidden from the end user. Then users
> can access their repos via git protocol. Ialso fillthe repo with some
> additional info for cgit.
>
> Eugene

BTW I'm using "git clone --bare" in this process, so if you have a repo with working copy you can create a bare one separately, put it on the server and then connect to it via "git remote add"

Eugene
Previous: Thomas RastNext: Matt Schoen
Message 7 of 8 in “get git not to care about permissions”
  1. sconemanNov 9, 2009
  2. Jay SoffianNov 12, 2009
  3. Matt SchoenNov 12, 2009
  4. Thomas RastNov 12, 2009
  5. Matt SchoenNov 12, 2009
  6. Thomas RastNov 15, 2009
  7. Eugene SajineNov 12, 2009
  8. Matt SchoenNov 12, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.