Re: BUG #4883: tar xf fails on NFS4 mounts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ajmcello <ajmcello78(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4883: tar xf fails on NFS4 mounts
Date: 2009-06-26 00:44:40
Message-ID: 19330.1245977080@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

ajmcello <ajmcello78(at)gmail(dot)com> writes:
> # make
> make -C doc all
> make[1]: Entering directory `/nfs/fsp1/web/postgresql-8.3.7/doc'
> gzip -d -c man.tar.gz | /bin/tar xf -
> /bin/tar: man1/clusterdb.1: Cannot change ownership to uid 258, gid 258:
> Invalid argument
> /bin/tar: Error exit delayed from previous errors
> make[1]: *** [manl/.timestamp] Error 2

Hmm, that is *not* about unpacking the source tarball as I first thought
--- it's about unpacking the documentation sub-tarballs. Which is
something that people are quite likely to try to do as root,
particularly for the html tarball which is unpacked only in the install
step. Maybe putting "o" into the options in doc/Makefile is a good
idea. I'm wondering why we've not had complaints before, though.

BTW, why are there uses of both "tar" and "$(TAR)" in there?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Greg Stark 2009-06-26 01:19:57 Re: BUG #4883: tar xf fails on NFS4 mounts
Previous Message ajmcello 2009-06-26 00:32:48 Re: BUG #4883: tar xf fails on NFS4 mounts