Re: set owner/group on FreeBSD

2002-09-27 Thread Akim Demaille
I'm installing the following patch. Thanks! Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * doc/autoconf.texi (Limitations of Usual Tools): Some about mv from /tmp. Thanks to Bill Moseley and Paul Eggert. * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the d

Re: set owner/group on FreeBSD

2002-09-24 Thread Akim Demaille
> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes: >> From: Akim Demaille <[EMAIL PROTECTED]> Date: 24 Sep 2002 13:45:24 >> +0200 >> As a matter of fact, I'm not even sure we need a tmp dir at all. Paul> In other words, you're suggestiong that we should remove Paul> AS_TMPDIR and rewrite l

Re: set owner/group on FreeBSD

2002-09-24 Thread Paul Eggert
> From: Akim Demaille <[EMAIL PROTECTED]> > Date: 24 Sep 2002 13:45:24 +0200 > As a matter of fact, I'm not even sure we need a tmp dir at all. In other words, you're suggestiong that we should remove AS_TMPDIR and rewrite lib/autoconf/status.m4 to put its temporaries in the working directory ra

Re: set owner/group on FreeBSD

2002-09-24 Thread Akim Demaille
> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes: Paul> Can some one remind me why "configure"'s temporary directory is Paul> in /tmp (or $TMPDIR) rather than in the current directory? If Paul> we put the temporary directory in "." then this problem would go Paul> away. That's exactly wha

Re: set owner/group on FreeBSD

2002-09-20 Thread Eric Siegerman
On Thu, Sep 19, 2002 at 10:17:37PM -0700, Paul Eggert wrote: > > From: Bill Moseley <[EMAIL PROTECTED]> > > Date: Thu, 19 Sep 2002 19:53:57 -0700 > > > > I suppose I should know this, but what is it that's making the guid of > > files created in /tmp the guid of "wheel" (guid:0) instead of the u

Re: set owner/group on FreeBSD

2002-09-19 Thread Paul Eggert
Can some one remind me why "configure"'s temporary directory is in /tmp (or $TMPDIR) rather than in the current directory? If we put the temporary directory in "." then this problem would go away.

Re: set owner/group on FreeBSD

2002-09-19 Thread Paul Eggert
> From: Bill Moseley <[EMAIL PROTECTED]> > Date: Thu, 19 Sep 2002 19:53:57 -0700 > > I suppose I should know this, but what is it that's making the guid of > files created in /tmp the guid of "wheel" (guid:0) instead of the users > guid? Is that just only on BSD? Yes, it's the BSD tradition.

Re: set owner/group on FreeBSD

2002-09-19 Thread Bill Moseley
At 05:02 PM 09/19/02 -0700, Paul Eggert wrote: > If the duplication of the file characteristics fails for any reason, > mv shall write a diagnostic message to standard error, but this > failure shall not cause mv to modify its exit status. So it's an annoying yet expected message. I suppose I

Re: set owner/group on FreeBSD

2002-09-19 Thread Paul Eggert
> From: Eric Siegerman <[EMAIL PROTECTED]> > Date: Thu, 19 Sep 2002 19:50:29 -0400 > > I wonder what POSIX has to say about this? POSIX says that FreeBSD "mv" conforms, and that Solaris "/bin/mv" and GNU "mv" do not conform. You can see the sad news in step 5 of: http://www.opengroup.org/onlin

Re: set owner/group on FreeBSD

2002-09-19 Thread Eric Siegerman
On Thu, Sep 19, 2002 at 04:51:01PM -0700, Paul Eggert wrote: > (set X`ls -dln` && chgrp $4 $tmp) 2>/dev/null Some versions of ls don't print the group name by default: % /usr/ucb/ls -dln . drwxr-xr-x 52 erics6656 Sep 19 19:50 . You can add "-g" to fix that, but I bet the

Re: set owner/group on FreeBSD

2002-09-19 Thread Paul Eggert
> From: Bill Moseley <[EMAIL PROTECTED]> > Date: Thu, 19 Sep 2002 15:01:50 -0700 > >is there some command you can issue after the mkdir but before the > >touch, which will fix the problem? > > I'm not sure. Could chgrp the file in /tmp before moving, I suppose, but > is that portable? We can i

Re: set owner/group on FreeBSD

2002-09-19 Thread Eric Siegerman
On Thu, Sep 19, 2002 at 03:01:50PM -0700, Bill Moseley wrote: > It's more that the file in /tmp is created with group "wheel" which I am > not a member of, so mv (cp -p across file systems) generates that message. Bitch to the FreeBSD folks about their mv that prints pedantic error messages compl

Re: set owner/group on FreeBSD

2002-09-19 Thread Bill Moseley
At 01:31 PM 09/19/02 -0700, Paul Eggert wrote: >> From: Bill Moseley <[EMAIL PROTECTED]> >> Date: Wed, 18 Sep 2002 23:56:20 -0700 > >> config.status: creating Makefile >> mv: Makefile: set owner/group (was: 1357/0): Operation not permitted > >You don't mention the Autoconf version. Was your "conf

Re: set owner/group on FreeBSD

2002-09-19 Thread Paul Eggert
> From: Bill Moseley <[EMAIL PROTECTED]> > Date: Wed, 18 Sep 2002 23:56:20 -0700 > config.status: creating Makefile > mv: Makefile: set owner/group (was: 1357/0): Operation not permitted You don't mention the Autoconf version. Was your "configure" generated by Autoconf 2.54? It has some fixes

Re: set owner/group on FreeBSD

2002-09-19 Thread Bill Moseley
At 09:34 AM 09/19/02 -0600, Bob Proulx wrote: >Bill Moseley <[EMAIL PROTECTED]> [2002-09-18 23:56:20 -0700]: >> bash-2.05a$ touch /tmp/foo >> bash-2.05a$ mv /tmp/foo . >> mv: ./foo: set owner/group (was: 3830/0): Operation not permitted >> bash-2.05a$ ls foo >> foo > >This seems to be a problem wi

Re: set owner/group on FreeBSD

2002-09-19 Thread Bob Proulx
Bill Moseley <[EMAIL PROTECTED]> [2002-09-18 23:56:20 -0700]: > bash-2.05a$ touch /tmp/foo > bash-2.05a$ mv /tmp/foo . > mv: ./foo: set owner/group (was: 3830/0): Operation not permitted > bash-2.05a$ ls foo > foo This seems to be a problem with 'mv' on the system and autoconf is just suffering f