coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests: adjust PATH to include /usr/sbin for filefrag-using t


From: Erik Auerswald
Subject: Re: [PATCH] tests: adjust PATH to include /usr/sbin for filefrag-using tests
Date: Thu, 24 Nov 2011 09:28:04 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hi,

On Thu, Nov 24, 2011 at 09:10:57AM +0100, Bernhard Voelker wrote:
> On 11/23/2011 10:31 PM, Bob Proulx wrote:
> > Jim Meyering wrote:
> >> The point is that the separation is not clear.
> >> Even /sbin programs like mkfs.* can be useful to non-root users.
> >> I use a few of those in parted tests.
> >> Also, ifconfig is useful to non-root users, yet resides in /sbin.
> > 
> > I am sure that you like me always add /usr/local/sbin:/usr/sbin:/sbin
> > to your PATH as a normal non-root user.  This shields us from most of
> > those problems.  And sometimes hides the problem.

That is what I do as well, which shows that I agree a lot of useful
(to non-root users) programs are hidden in some sbin directory.

But that misses the point: The coreutils tests should work without the
user changing his $PATH first. Even on systems that are not Fedora or
Ubuntu. And as Berny states his issue is not related to sudo at all.

> Again, I don't think it is related to sudo. It is /bin/login.
> 
> I even changed to runlevel 3, renamed sudo, did the login on tty2, and
> then "make check TESTS=cp/fiemap-perf" was skipped in the same way.
> Sudo is not used here. And such sbin paths have never been included
> for non-root users on SuSE and AFAIK on Solaris.

AFAIK the *BSDs omit sbin from non-root user's $PATH as well.

Thanks,
Erik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]