git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unprivileged User
@ 2006-11-30  5:54 Ed
  2006-11-30  9:07 ` Jakub Narebski
  0 siblings, 1 reply; 5+ messages in thread
From: Ed @ 2006-11-30  5:54 UTC (permalink / raw)
  To: git

Hi, I'm new to git.  Just got everything setup and imported a new project.

From gitweb it says that my git project's owner is: Unprivileged User

Should I be worried about this when I begin using this git project with others?

How would I resolve this, to make the owner as the name I set in my
~/.gitconfig, or is there something I didn't read in the docs?

Thanks, beside this small glitch, git has been great.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unprivileged User
  2006-11-30  5:54 Unprivileged User Ed
@ 2006-11-30  9:07 ` Jakub Narebski
  2006-11-30  9:39   ` Junio C Hamano
  2006-11-30 10:50   ` Pazu
  0 siblings, 2 replies; 5+ messages in thread
From: Jakub Narebski @ 2006-11-30  9:07 UTC (permalink / raw)
  To: git

Ed wrote:

> Hi, I'm new to git.  Just got everything setup and imported a new project.
> 
> From gitweb it says that my git project's owner is: Unprivileged User
> 
> Should I be worried about this when I begin using this git project with others?
> 
> How would I resolve this, to make the owner as the name I set in my
> ~/.gitconfig, or is there something I didn't read in the docs?
> 
> Thanks, beside this small glitch, git has been great.

Actually gitweb uses uid/user the repository (the $GIT_DIR), unless you
provide it with an index file. The simplest way is to click on "TXT" link
in projects list page, save it somewhere, edit it, and recompile gitweb
with this file as GITWEB_LIST (see README): 
   make ... GITWEB_LIST=<index> gitweb/gitweb.cgi
(or just edit gitweb.cgi or gitweb_conf.perl setting $projects_list
to this file).

Perhaps gitweb should use user.name from the repository instead...

P.S. Please reply also to git mailing list
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unprivileged User
  2006-11-30  9:07 ` Jakub Narebski
@ 2006-11-30  9:39   ` Junio C Hamano
  2006-12-01  6:08     ` Ed
  2006-11-30 10:50   ` Pazu
  1 sibling, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2006-11-30  9:39 UTC (permalink / raw)
  To: Ed; +Cc: jnareb, git

Jakub Narebski <jnareb@gmail.com> writes:

> Ed wrote:
>
>> From gitweb it says that my git project's owner is: Unprivileged User
> ...
> Actually gitweb uses uid/user the repository (the $GIT_DIR), unless you
> provide it with an index file.

This is a shot in the dark, but by any chance is this repository
owned by nobody, which is mapped to "Unprivileged User" by
/etc/passwd?  Googling for "Unprivileged User" and "getpwent"
tells me that on OSX boxes nobody seems to map to that Gecos
name.

To explicitly set the names of list of projects and their
owners, set up $projects_list text file.  A hint for its format
is found around line 1111 in gitweb/gitweb.perl script.

Hopefully somebody has documentation for gitweb configuration
so that people do not have to refer to the source to find things
out, but I do not know of a URL offhand...



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unprivileged User
  2006-11-30  9:07 ` Jakub Narebski
  2006-11-30  9:39   ` Junio C Hamano
@ 2006-11-30 10:50   ` Pazu
  1 sibling, 0 replies; 5+ messages in thread
From: Pazu @ 2006-11-30 10:50 UTC (permalink / raw)
  To: git

Jakub Narebski <jnareb <at> gmail.com> writes:

> Perhaps gitweb should use user.name from the repository instead...

That would make more sense to me.

-- Pazu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unprivileged User
  2006-11-30  9:39   ` Junio C Hamano
@ 2006-12-01  6:08     ` Ed
  0 siblings, 0 replies; 5+ messages in thread
From: Ed @ 2006-12-01  6:08 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: jnareb, git

Thanks, I looked at the perl script and did it explicitly and it
works... I am on mac os x, but I do not know why that would affect the
behaviour of getpwuid...

On 11/30/06, Junio C Hamano <junkio@cox.net> wrote:
> Jakub Narebski <jnareb@gmail.com> writes:
>
> > Ed wrote:
> >
> >> From gitweb it says that my git project's owner is: Unprivileged User
> > ...
> > Actually gitweb uses uid/user the repository (the $GIT_DIR), unless you
> > provide it with an index file.
>
> This is a shot in the dark, but by any chance is this repository
> owned by nobody, which is mapped to "Unprivileged User" by
> /etc/passwd?  Googling for "Unprivileged User" and "getpwent"
> tells me that on OSX boxes nobody seems to map to that Gecos
> name.
>
> To explicitly set the names of list of projects and their
> owners, set up $projects_list text file.  A hint for its format
> is found around line 1111 in gitweb/gitweb.perl script.
>
> Hopefully somebody has documentation for gitweb configuration
> so that people do not have to refer to the source to find things
> out, but I do not know of a URL offhand...
>
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-12-01  6:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-30  5:54 Unprivileged User Ed
2006-11-30  9:07 ` Jakub Narebski
2006-11-30  9:39   ` Junio C Hamano
2006-12-01  6:08     ` Ed
2006-11-30 10:50   ` Pazu

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).