GNU bug report logs - #53534
28.0.91; on netbsd 'gmake install' outputs 'find: chown: No such file or directory'

Previous Next

Package: emacs;

Reported by: Van Ly <van.ly <at> sdf.org>

Date: Tue, 25 Jan 2022 23:05:01 UTC

Severity: normal

Found in version 28.0.91

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Van Ly <van.ly <at> sdf.org>, 53534 <at> debbugs.gnu.org
Subject: bug#53534: 28.0.91; on netbsd 'gmake install' outputs 'find: chown: No such file or directory'
Date: Tue, 25 Jan 2022 23:26:36 -0500
Eli Zaretskii wrote:

> Users on NetBSD cannot invoke the 'chown' command?

Presumably it is not in the default PATH of non-root users;
eg perhaps it is /sbin/chown.

On GNU/Linux, non-root users normally cannot chown things (to other
users).

It's not obvious to me that these venerable chowns in the Makefile are
useful.

Apart from them being no-ops for non-root installs (apart from possible
group changes), LOGNAME (which is the first choice for setting
$installuser) has different values in `su` and `su -`. So the ownership
of the emacs installation will vary according to how su was invoked.

I guess they are to deal with tar defaulting to --same-owner for root.




This bug report was last modified 3 years and 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.