bug#66176: 9.4 root test fails: tests/rm/ext3-perf tests/rm/ext3-perf.sh

2023-09-26 Thread Jeffrey Cliff
whoops didn't notice the debbugs email reproduced 7 times now, same results. usually 260-280 seconds. On Mon, Sep 25, 2023 at 4:43 PM Jeffrey Cliff wrote: > > Run the full test suite now at least 6 times, same results. Would you > like me to run them more? > > last couple of tests/rm/ext3-perf

bug#66176: 9.4 root test fails: tests/rm/ext3-perf tests/rm/ext3-perf.sh

2023-09-24 Thread Bernhard Voelker
On 9/23/23 18:35, Jeffrey Cliff wrote: Test suite told me to send this report in so here we are. environment : custom LFS (GNM) coreutils: 9.4 gcc: (GCC) 13.2.0 > FAIL: tests/rm/ext3-perf > > [...] > > ++ date +%s > + start=1698065263 > + mkdir d > + cd d > + xargs

bug#45371: race condition in rm --preserve-root=all

2020-12-22 Thread Stephane Chazelas
Hello, [reproduced with rm 8.30 and current git head on ubuntu 20.04 amd64] Whilst trying to answer https://unix.stackexchange.com/questions/505317/using-rm-one-file-system-to-only-delete-files-on-the-local-filesystem I noticed that "rm -rf --preserve-root=all some-dir" was not race-f

bug#42633: 8.32 make check as root failure of rmdir/ignore.sh

2020-08-03 Thread Bernhard Voelker
On 2020-07-31 21:42, Pádraig Brady wrote: > Patch looks good thanks. Thanks. > An alternative could be to use rmdir itself to test, like: > >if ! rmdir x/y 2>/dev/null; then > returns_ 1 rmdir --ignore-fail-on-non-empty x/y || fail=1 >fi I thought about that, but as there's a

bug#42633: 8.32 make check as root failure of rmdir/ignore.sh

2020-08-01 Thread Nick Alcock
On 31 Jul 2020, Bernhard Voelker spake thusly: > On 2020-07-31 16:32, Nick Alcock wrote: >> I get an ERROR when running rmdir/ignore.sh as root (but not when >> running as non-root). [...] > >> ERROR: tests/rmdir/ignore >> = > [...] &

bug#42633: 8.32 make check as root failure of rmdir/ignore.sh

2020-07-31 Thread Pádraig Brady
On 31/07/2020 18:56, Bernhard Voelker wrote: On 2020-07-31 16:32, Nick Alcock wrote: I get an ERROR when running rmdir/ignore.sh as root (but not when running as non-root). [...] ERROR: tests/rmdir/ignore = [...] + mkdir -p x/y + chmod a-w x + returns_ 1 rmdir

bug#42633: 8.32 make check as root failure of rmdir/ignore.sh

2020-07-31 Thread Bernhard Voelker
On 2020-07-31 16:32, Nick Alcock wrote: > I get an ERROR when running rmdir/ignore.sh as root (but not when > running as non-root). [...] > ERROR: tests/rmdir/ignore > = [...] > + mkdir -p x/y > + chmod a-w x > + returns_ 1 rmdir --ignore-fail-on-non

bug#42633: 8.32 make check as root failure of rmdir/ignore.sh

2020-07-31 Thread Nick Alcock
I get an ERROR when running rmdir/ignore.sh as root (but not when running as non-root). The running system has coreutils 8.31 installed; The source tree, /usr/src/coreutils/x86_64-loom, is a loopback mount of an xfs filesystem dedicated only to this build. (The build subdir shai-build has nothing

bug#24217: dd - root partition security

2018-10-28 Thread Assaf Gordon
retitle 24217 dd: add root partition checks/confirmation severity 24217 wishlist tags 24217 wontfix close 24217 stop (triaging old bugs) On 2016-08-13 8:15 a.m., Pádraig Brady wrote: On 13/08/16 12:34, David Hedlund wrote: rm / # do not remove root partition rm -f / will remove root partition

bug#21405: df has '/root/.gvfs': permission denied, again

2018-10-24 Thread Assaf Gordon
tags 21405 moreinfo close 21405 stop (triaging old bugs) On 03/09/15 10:00 AM, Pádraig Brady wrote: On 03/09/15 16:02, John Bowling wrote: This is a repeat of the bug around 2009. Well need more info. Which version of df are you using? Do you have a reference to the original discussion?

bug#29167: Acknowledgement (tests/ls/readdir-mountpoint-inode.sh is unstable and should require root privileges)

2017-11-06 Thread Pádraig Brady
On 06/11/17 04:06, Thomas Deutschmann wrote: > Hi, > > here's a better fix (from Sebastian Kühn via > https://bugs.gentoo.org/353164): > > diff --git a/tests/ls/readdir-mountpoint-inode.sh > b/tests/ls/readdir-mountpoint-inode.sh > index b4ca9e46e..5270df079 100755 > ---

bug#29167: Acknowledgement (tests/ls/readdir-mountpoint-inode.sh is unstable and should require root privileges)

2017-11-06 Thread Thomas Deutschmann
Hi, here's a better fix (from Sebastian Kühn via https://bugs.gentoo.org/353164): diff --git a/tests/ls/readdir-mountpoint-inode.sh b/tests/ls/readdir-mountpoint-inode.sh index b4ca9e46e..5270df079 100755 --- a/tests/ls/readdir-mountpoint-inode.sh +++ b/tests/ls/readdir-mountpoint-inode.sh @@

bug#29167: tests/ls/readdir-mountpoint-inode.sh is unstable and should require root privileges

2017-11-06 Thread Thomas Deutschmann
Hi, test "tests/ls/readdir-mountpoint-inode.sh" is unstable and should require root privileges because it will fail when it encounters permissions like > # df --local --out=target | sed -n '/^\/./p' > /dev > /run > /dev/shm > /sys/fs/cgroup > /boot > /usr/portage

bug#24217: dd - root partition security

2016-08-13 Thread Pádraig Brady
On 13/08/16 12:34, David Hedlund wrote: > rm / # do not remove root partition > rm -f / will remove root partition > > In my opinion: > > dd of=/dev/sda # will destroy sda even if it is a root partition, it > should not > dd -f of=/dev/sda # -f flag do not exists for d

bug#24217: dd - root partition security

2016-08-13 Thread David Hedlund
rm / # do not remove root partition rm -f / will remove root partition In my opinion: dd of=/dev/sda # will destroy sda even if it is a root partition, it should not dd -f of=/dev/sda # -f flag do not exists for dd, it should be added so it can force a write if the previous step

bug#23773: su is not working for non-root users

2016-06-16 Thread Al Mamun
M +0200, Bernhard Voelker wrote: > > On 06/15/2016 06:31 PM, Al Mamun wrote: > > > I was trying to "su - nonrootuser" but it returns incorrect password > but > > > the password is ok and I can login from ssh. Everything is good with > root. > > > Only th

bug#23773: su is not working for non-root users

2016-06-16 Thread Erik Auerswald
Hi, On Thu, Jun 16, 2016 at 07:44:06AM +0200, Bernhard Voelker wrote: > On 06/15/2016 06:31 PM, Al Mamun wrote: > > I was trying to "su - nonrootuser" but it returns incorrect password but > > the password is ok and I can login from ssh. Everything is good with root. &

bug#23773: su is not working for non-root users

2016-06-15 Thread Bernhard Voelker
tag 23773 notabug thanks On 06/15/2016 06:31 PM, Al Mamun wrote: > Hi, > > I was trying to "su - nonrootuser" but it returns incorrect password but > the password is ok and I can login from ssh. Everything is good with root. > Only the non-root user is causing the

bug#20111: nice.1, renice.1 and nice.info : claims non-root user cannot decrease niceness

2016-01-03 Thread Pádraig Brady
tag 20111 notabug close 20111 stop coreutils nice docs don't mention the root user. renice is implemented by util-linux so CCing there. thanks, Pádraig. On 15/03/15 18:32, Stéphane Aulery wrote: > Hello, > > I had you followed a bug reported by a Ubuntu user [1] about "nice va

bug#21405: df has '/root/.gvfs': permission denied, again

2015-09-03 Thread John Bowling
This is a repeat of the bug around 2009.

bug#21405: df has '/root/.gvfs': permission denied, again

2015-09-03 Thread Pádraig Brady
On 03/09/15 16:02, John Bowling wrote: > This is a repeat of the bug around 2009. Well need more info. Which version of df are you using? Do you have a reference to the original discussion? thanks, Pádraig

bug#20111: nice.1, renice.1 and nice.info : claims non-root user cannot decrease niceness

2015-03-15 Thread Stéphane Aulery
Hello, I had you followed a bug reported by a Ubuntu user [1] about nice value change: According to man nice and info coreutils nice, it is not possible for a non-root user to decrease the niceness of a process (even if they were the ones that increased the niceness). However

bug#14383: cp --one-file-system / will not copy whole root filesystem

2013-05-10 Thread Pavel Machek
Hi! On systems like linux, cp / -a --one-file-system (destination) will not copy whole root filesystem. It is not cp's fault, but the behaviour is quite surprising to the users, so maybe it would be worth warning in man page? Something like -x, --one-file-system stay

bug#14383: cp --one-file-system / will not copy whole root filesystem

2013-05-10 Thread Bob Proulx
severity 14383 wishlist thanks Pavel Machek wrote: On systems like linux, cp / -a --one-file-system (destination) will not copy whole root filesystem. It is not cp's fault, but the behaviour is quite surprising to the users, so maybe it would be worth warning in man page? Something like

bug#14383: cp --one-file-system / will not copy whole root filesystem

2013-05-10 Thread Pavel Machek
Hi! But isn't that the entire purpose of -x? To avoid copying files on other file systems? I am just not sure about having a description that is don't copy files on other filesystems and then warning: does not copy files on other filesystems. I have never liked the wording of stay on

bug#14383: cp --one-file-system / will not copy whole root filesystem

2013-05-10 Thread Pádraig Brady
On 05/10/2013 11:55 AM, Pavel Machek wrote: Hi! On systems like linux, cp / -a --one-file-system (destination) will not copy whole root filesystem. It is not cp's fault, but the behaviour is quite surprising to the users, so maybe it would be worth warning in man page? Something like

bug#14383: cp --one-file-system / will not copy whole root filesystem

2013-05-10 Thread Andreas Schwab
Pádraig Brady p...@draigbrady.com writes: I suppose you could give the advice to ensure that all mounts in a tree should be unmounted to ensure that the base file system contents are copied. The easiest way to uncover all over-mounted files of a filesystem is to bind-mount it somewhere else.

bug#14383: cp --one-file-system / will not copy whole root filesystem

2013-05-10 Thread Bob Proulx
Andreas Schwab wrote: Pádraig Brady writes: I suppose you could give the advice to ensure that all mounts in a tree should be unmounted to ensure that the base file system contents are copied. The easiest way to uncover all over-mounted files of a filesystem is to bind-mount it

bug#12891: test-suite AIX 6.1 non-root xlC compiler

2012-11-22 Thread Pádraig Brady
On 11/20/2012 08:31 PM, Michael Felt wrote: root@x104:[/data/prj/gnu/ coreutils/coreutils-8.20]cd tests root@x104:[/data/prj/gnu/coreutils/coreutils-8.20/tests]truss -f -o /tmp/tr m cd .. make check TESTS=tests/tail-2/F-vs-missing.sh SUBDIRS=. All make invocations must be from the top level

bug#12891: test-suite AIX 6.1 non-root xlC compiler

2012-11-22 Thread Pádraig Brady
On 11/15/2012 08:00 AM, Michael Felt wrote: FAIL: tests/rm/d-2.sh (exit: 1) === + diff -u exp out --- exp2012-11-14 22:58:24 +0100 +++ out2012-11-14 22:58:23 +0100 @@ -1 +1 @@ -rm: cannot remove 'd': Directory not empty +rm: cannot remove 'd': File

bug#12891: test-suite AIX 6.1 non-root xlC compiler

2012-11-22 Thread Jim Meyering
Pádraig Brady wrote: On 11/15/2012 08:00 AM, Michael Felt wrote: FAIL: tests/rm/d-2.sh (exit: 1) === + diff -u exp out --- exp 2012-11-14 22:58:24 +0100 +++ out 2012-11-14 22:58:23 +0100 @@ -1 +1 @@ -rm: cannot remove 'd': Directory not empty +rm:

bug#12891: test-suite AIX 6.1 non-root xlC compiler

2012-11-20 Thread Michael Felt
root@x104:[/data/prj/gnu/ coreutils/coreutils-8.20]cd tests root@x104:[/data/prj/gnu/coreutils/coreutils-8.20/tests]truss -f -o /tmp/tr m cd .. make check TESTS=tests/tail-2/F-vs-missing.sh SUBDIRS=. make[1]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.20' GENpublic-submodule

bug#12778: Failure when running check-root make target

2012-11-18 Thread g . esp
- Mail original - De: Matt Burgess matt...@linuxfromscratch.org À: 12...@debbugs.gnu.org Cc: matt...@linuxfromscratch.org Envoyé: Jeudi 1 Novembre 2012 21:29:33 Objet: bug#12778: Failure when running check-root make target Hi, When running 'make NON_ROOT_USERNAME=nobody check

bug#12891: test-suite AIX 6.1 non-root xlC compiler

2012-11-15 Thread Michael Felt
FYI test-suite.log.gz Description: GNU Zip compressed data

bug#12891: test-suite AIX 6.1 non-root xlC compiler

2012-11-15 Thread Michael Felt
The compressed nohup.out - for what is it worth, or not - attached. On Thu, Nov 15, 2012 at 9:00 AM, Michael Felt mamf...@gmail.com wrote: FYI nohup.out.gz Description: GNU Zip compressed data

bug#12891: test-suite AIX 6.1 non-root xlC compiler

2012-11-15 Thread Paul Eggert
There are a lot of failures there, though none seem to be all that serious for real-world use. Probably the best thing to do is to go through them one by one. The first failure is in tests/tail-2/F-vs-missing.sh, and the log says: + rm -rf

bug#12778: Failure when running check-root make target

2012-11-05 Thread Voelker, Bernhard
Andrew Warshall wrote: (Sunday, November 04, 2012 8:21 PM) make[7]: *** No rule to make target `tests/chown/basic.sh.log', needed by `test-suite.log'. Stop. Is anyone else having our problem? In particular, is it local to GNU make 3.82? well, not the same, but ... make check-TESTS

bug#12778: Failure when running check-root make target

2012-11-05 Thread Andrew Warshall
] Error 2 This is on OpenSuSE 12.2 with GNU make 3.82. I'd be curious to know what it's supposed to be doing. For example, should make check-root be running any gnulib-tests at all? Those should all get run by make check anyway, no? Does make NON_ROOT_USERNAME=nobody check-TESTS run as root

bug#12778: Failure when running check-root make target

2012-11-05 Thread Voelker, Bernhard
Andrew Warshall wrote (Monday, November 05, 2012 3:30 PM): This is on OpenSuSE 12.2 with GNU make 3.82. I'd be curious to know what it's supposed to be doing. For example, should make check-root be running any gnulib-tests at all? Those should all get run by make check anyway, no? not sure

bug#12778: Failure when running check-root make target

2012-11-05 Thread Andrew Warshall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 5 Nov 2012 15:46:32 + Voelker, Bernhard bernhard.voel...@siemens-enterprise.com wrote: Does make NON_ROOT_USERNAME=nobody check-TESTS run as root in the gnulib-tests/ directory work for you? Sure it does. ;-) But with sudo

bug#12778: Failure when running check-root make target

2012-11-04 Thread Andrew Warshall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, When running 'make NON_ROOT_USERNAME=nobody check-root' on coreutils-8.20, I get: CCLD test-xvasprintf CC test-yesno.o CCLD test-yesno make[6]: Leaving directory `/home/burgessm/sources/coreutils-8.20/gnulib-tests' make

bug#12778: Failure when running check-root make target

2012-11-04 Thread Andrew Warshall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, When running 'make NON_ROOT_USERNAME=nobody check-root' on coreutils-8.20, I get:_ROOT_USERNAME=nobody check- CCLD test-xvasprintf CC test-yesno.o CCLD test-yesno make[6]: Leaving directory `/home/burgessm

bug#12778: Failure when running check-root make target

2012-11-01 Thread Matt Burgess
Hi, When running 'make NON_ROOT_USERNAME=nobody check-root' on coreutils-8.20, I get: CCLD test-xvasprintf CC test-yesno.o CCLD test-yesno make[6]: Leaving directory `/home/burgessm/sources/coreutils-8.20/gnulib-tests' make check-TESTS make[6]: Entering directory `/home/burgessm

bug#11009: Changing File permission of files owned by root

2012-03-13 Thread Nikhil Vidhani
Hi, I found a bug (or say lack of functionality) in chmod. I tried to change the permission of a file (normal .txt file) owned by root using: sudo chmod -x file.txt It returned silent prompt but the file permissions were unchanged. I tried the same with logging in as root and again hit: chmod

bug#11009: Changing File permission of files owned by root

2012-03-13 Thread Pádraig Brady
tags 11009 notabug On 03/13/2012 01:05 PM, Nikhil Vidhani wrote: Hi, I found a bug (or say lack of functionality) in chmod. I tried to change the permission of a file (normal .txt file) owned by root using: sudo chmod -x file.txt It returned silent prompt but the file permissions were

bug#6913: change file ownership/permissions from root to user fail even with success confirmation

2010-08-25 Thread John McMillan
Need to change file ownership permissions from root to my user/group (john/john). Using the test file Augustine.doc, I issue the command in terminal: sudo chown john:john Augustine.doc No error message returned but checking properties of the file it still is shown as root. I then try

bug#6913: change file ownership/permissions from root to user fail even with success confirmation

2010-08-25 Thread Philipp Thomas
* John McMillan (mcmil...@skybest.com) [20100825 19:06]: to which I receive the following confirmation - changed ownership of `/media/C:/Documents and Settings/John/My Documents/Word/John/Augustine.doc' to john:john Looks like this is a DOS/WIN partition, i.e. vfat or ntfs. These file systems

bug#6913: change file ownership/permissions from root to user fail even with success confirmation

2010-08-25 Thread Eric Blake
On 08/25/2010 11:23 AM, Philipp Thomas wrote: * John McMillan (mcmil...@skybest.com) [20100825 19:06]: to which I receive the following confirmation - changed ownership of `/media/C:/Documents and Settings/John/My Documents/Word/John/Augustine.doc' to john:john Looks like this is a DOS/WIN

bug#5945: [PATCH] tests: avoid spurious failure of root-only ls/capability test

2010-04-15 Thread Pádraig Brady
On 14/04/10 15:37, Pádraig Brady wrote: On 14/04/10 14:52, Jim Meyering wrote: tests: avoid spurious failure of root-only ls/capability test Here's another ls test failure that happens on SELinux enabled systems. I'll push the following shortly. From

bug#5945: [PATCH] tests: avoid spurious failure of root-only ls/capability test

2010-04-14 Thread Jim Meyering
Hmm... you can tell I haven't been running the root-only tests on capability-enabled systems. This showed up as a root-only failure: $ sudo env PATH=$PATH NON_ROOT_USERNAME=$USER make -k check-root PASS: chown/basic ... PASS: install/install-C-root FAIL: ls/capability

bug#5945: [PATCH] tests: avoid spurious failure of root-only ls/capability test

2010-04-14 Thread Pádraig Brady
On 14/04/10 14:52, Jim Meyering wrote: tests: avoid spurious failure of root-only ls/capability test Here's another ls test failure that happens on SELinux enabled systems. I'll push the following shortly. From 2d9e9408f74f39f4c2817ea028a7a6ad64fb4b45 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?P

[bug #28341] chown does not support non-root usage

2009-12-18 Thread Bob Proulx
: http://www.gnu.org/software/coreutils/faq/#Why-can-only-root-chown-files_003f Since this bug report was submitted anonymously there is no way to send you information other than in this report. If you wish further discussion I suggest sending a message to the bug-coreutils mailing list

[PATCH] tests: do not fail on read-only root file system

2009-11-22 Thread Dmitry V. Levin
* tests/touch/not-owner: Handle the case when the root file system is mounted read-only. Reported by Solar Designer. --- tests/touch/not-owner |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/tests/touch/not-owner b/tests/touch/not-owner index 3dd8a80..9cfa026 100755

Re: [PATCH] tests: do not fail on read-only root file system

2009-11-22 Thread Jim Meyering
Dmitry V. Levin wrote: * tests/touch/not-owner: Handle the case when the root file system is mounted read-only. Reported by Solar Designer. Thanks! Applied. Good idea to mount root read-only.

Re: non-root tests in target check-root?

2009-11-02 Thread Jim Meyering
Voelker, Bernhard wrote: Jim Meyering wrote: Voelker, Bernhard wrote: I'm wondering why there are so many tests (in coreutils-8.0( run by sudo env PATH=$PATH NON_ROOT_USERNAME=$USER make -k check-root which are skipped with must be run as non-root, e.g. touch/read-only, mv/perm-1

RE: non-root tests in target check-root?

2009-11-02 Thread Voelker, Bernhard
Jim Meyering wrote: Voelker, Bernhard wrote: Jim Meyering wrote: Voelker, Bernhard wrote: I'm wondering why there are so many tests (in coreutils-8.0( run by sudo env PATH=$PATH NON_ROOT_USERNAME=$USER make -k check-root which are skipped with must be run as non-root

Re: non-root tests in target check-root?

2009-11-02 Thread Jim Meyering
Voelker, Bernhard wrote: Jim Meyering wrote: Voelker, Bernhard wrote: Jim Meyering wrote: Voelker, Bernhard wrote: I'm wondering why there are so many tests (in coreutils-8.0( run by sudo env PATH=$PATH NON_ROOT_USERNAME=$USER make -k check-root which are skipped

RE: non-root tests in target check-root?

2009-11-02 Thread Voelker, Bernhard
Jim Meyering wrote: Voelker, Bernhard wrote: Jim Meyering wrote: Voelker, Bernhard wrote: Jim Meyering wrote: Voelker, Bernhard wrote: I'm wondering why there are so many tests (in coreutils-8.0( run by sudo env PATH=$PATH NON_ROOT_USERNAME=$USER make -k check-root

RE: non-root tests in target check-root?

2009-11-01 Thread Voelker, Bernhard
Jim Meyering wrote: Voelker, Bernhard wrote: I'm wondering why there are so many tests (in coreutils-8.0( run by sudo env PATH=$PATH NON_ROOT_USERNAME=$USER make -k check-root which are skipped with must be run as non-root, e.g. touch/read-only, mv/perm-1, etc

Re: non-root tests in target check-root?

2009-10-31 Thread Jim Meyering
Voelker, Bernhard wrote: I'm wondering why there are so many tests (in coreutils-8.0( run by sudo env PATH=$PATH NON_ROOT_USERNAME=$USER make -k check-root which are skipped with must be run as non-root, e.g. touch/read-only, mv/perm-1, etc. Is that on purpose (to check wether the root

non-root tests in target check-root?

2009-10-29 Thread Voelker, Bernhard
Hi, I'm wondering why there are so many tests (in coreutils-8.0( run by sudo env PATH=$PATH NON_ROOT_USERNAME=$USER make -k check-root which are skipped with must be run as non-root, e.g. touch/read-only, mv/perm-1, etc. Is that on purpose (to check wether the root check works

Re: [PATCH] tests: fix a failure when running tail-2/wait as root

2009-09-04 Thread Jim Meyering
a failure when running tail-2/wait as root * tests/tail-2/wait: Silently skip a portion of the test when running as root, rather than failing the whole test. This regression was introduced with commit 84b5844d, 2009-09-03, tests: simplify and fix a race in 2 tail --follow tests. Good catch. Looks

bug report---mv running as root

2009-05-12 Thread JohnT
Hello. I ran the 7.2 test suite as root to get the results for the tests required to be run as root, and got one error or failure. The following is the console log produced by the failure. May 12, 2009. system: Mandriva Powerpack 2007, i686, gcc 4.1.1, glibc 2.4, binutils 2.19. John T j

Re: test failure in make check-root

2009-03-27 Thread Jim Meyering
Jim Meyering wrote: Kamil Dudka wrote: On Thursday 26 of March 2009 18:00:47 Jim Meyering wrote: diff --git a/tests/install/install-C-root b/tests/install/install-C-root index df2843d..d5cc2de 100755 --- a/tests/install/install-C-root +++ b/tests/install/install-C-root @@ -23,6 +23,7 @@ fi

test failure in make check-root

2009-03-26 Thread Sven Joachim
A test in make check-root fails for me. Since I usually don't make check-root, it might have been around for a while. Full log follows: $ sudo make -k check-root cd tests make check-root SUBDIRS= make[1]: Entering directory `/usr/local/src/coreutils-7.1.81-9b653/tests' make check TESTS='chown

Re: test failure in make check-root

2009-03-26 Thread Kamil Dudka
On Thursday 26 of March 2009 16:20:15 Sven Joachim wrote: A test in make check-root fails for me. Since I usually don't make check-root, it might have been around for a while. Full log follows: The failure has been already reported: http://lists.gnu.org/archive/html/bug-coreutils/2009-03

Re: test failure in make check-root

2009-03-26 Thread Kamil Dudka
On Thursday 26 of March 2009 17:17:26 hggdh wrote: hg...@xango2:/usr/src/buildd/coreutils/coreutils-git $ ls a echo 1 sudo src/ginstall -Cv a b echo 2 sudo src/ginstall -Cv -g2 a b echo 3 sudo src/ginstall -Cv a b echo 4 sudo src/ginstall -Cv a b 1 [sudo] password for hggdh: `a' -

Re: test failure in make check-root

2009-03-26 Thread Sven Joachim
On 2009-03-26 16:38 +0100, Kamil Dudka wrote: On Thursday 26 of March 2009 16:20:15 Sven Joachim wrote: A test in make check-root fails for me. Since I usually don't make check-root, it might have been around for a while. Full log follows: The failure has been already reported: http

Re: test failure in make check-root

2009-03-26 Thread Jim Meyering
Sven Joachim wrote: On Thursday 26 of March 2009 16:20:15 Sven Joachim wrote: A test in make check-root fails for me. Since I usually don't make check-root, it might have been around for a while. Full log follows: ... That /usr/local/src is setgid src seems to be the crux. After removing

Fw: Re: test failure in make check-root

2009-03-26 Thread Kamil Dudka
Blocks: 8 IO Block: 4096 regular file Device: fc03h/64515d Inode: 278918 Links: 1 Access: (0755/-rwxr-xr-x) Uid: (0/root) Gid: ( 40/ src) Access: 2009-03-26 11:42:43.0 -0500 Modify: 2009-03-26 11:42:43.0 -0500 Change: 2009-03-26 11:42

Re: root check failed for install-C-root

2009-03-24 Thread hggdh
running check-root, it does not fail if I manually run it. For the record, I am using the same glibc you used on your try. Right now I am tending to consider it some sort of environment thingy, and leave it be. As time permits I will keep on trying to zero in this. I am trying to free up some few

Re: root check failed for install-C-root

2009-03-20 Thread Kamil Dudka
On Wednesday 18 March 2009 18:31:29 Kamil Dudka wrote: Any idea how to reproduce the test failure? Note I've tested it with the fresh Ubuntu installation and the updated one. Kamil ___ Bug-coreutils mailing list Bug-coreutils@gnu.org

Re: root check failed for install-C-root

2009-03-13 Thread hggdh
On Thu, 12 Mar 2009 14:30:18 +0100 Kamil Dudka kdu...@redhat.com wrote: Now just tested on the Gentoo Linux with similar configuration, running the test install/install-C-root in the loop, still not able to reproduce. Can I download a snapshot of Debian with your configuration somewhere

Re: root check failed for install-C-root

2009-03-12 Thread hggdh
On Tue, 10 Mar 2009 11:17:24 +0100 Kamil Dudka kdu...@redhat.com wrote: Thank you for the report. Unfortunately I am not able to reproduce it. Can you give me more details? - architecture - kernel - glibc version (if any) Sorry for the delay.

Re: root check failed for install-C-root

2009-03-12 Thread Kamil Dudka
Thanks! Now just tested on the Gentoo Linux with similar configuration, running the test install/install-C-root in the loop, still not able to reproduce. Can I download a snapshot of Debian with your configuration somewhere? Or is it reproducible on the released one? On Thursday 12 March 2009

Re: root check failed for install-C-root

2009-03-12 Thread hggdh
On Thu, 12 Mar 2009 14:30:18 +0100 Kamil Dudka kdu...@redhat.com wrote: Thanks! Now just tested on the Gentoo Linux with similar configuration, running the test install/install-C-root in the loop, still not able to reproduce. Can I download a snapshot of Debian with your configuration

Re: root check failed for install-C-root

2009-03-10 Thread Kamil Dudka
On Monday 09 March 2009 15:18:25 hggdh wrote: Every so often I run a make check, and (more eventually) a root make check. After a git pull remake this morning, I ran a root check, and got a failure on install-C-root. Thank you for the report. Unfortunately I am not able to reproduce it. Can

root check failed for install-C-root

2009-03-09 Thread hggdh
Every so often I run a make check, and (more eventually) a root make check. After a git pull remake this morning, I ran a root check, and got a failure on install-C-root. I am unsure on what was intended, or if even this failure is real (I am not familiar, yet, with ginstall), but decided

[PATCH] tests: skip a root-only test when configured without libcap

2008-10-02 Thread Jim Meyering
I noticed that one of the root-only tests failed when libcap-devel is not installed. This skips the test in that case. From 7eb15e1020590ebc1f39e5679feea8f1106d241c Mon Sep 17 00:00:00 2001 From: Jim Meyering [EMAIL PROTECTED] Date: Thu, 2 Oct 2008 15:54:36 +0200 Subject: [PATCH] tests: skip

GNUWin32 ls at drive root

2008-09-29 Thread Mark Toivanen
Hello, I have discovered that trying to run ls at the root of a drive (i.e. c:\) errors out on directory listing for . Cheers, Mark P.S. Otherwise a fantastic app.keep up the great work! ___ Bug-coreutils mailing list Bug-coreutils

Re: GNUWin32 ls at drive root

2008-09-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Mark Toivanen on 9/29/2008 3:56 PM: I have discovered that trying to run ls at the root of a drive (i.e. c:\) errors out on directory listing for . Copying and pasting the actual command line and result would have been helpful

root

2008-08-24 Thread jrl
can't log in as root am using directions from forums FAQ bash: su-: command not foundis the error msg. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: root

2008-08-24 Thread James Youngman
On Sun, Aug 24, 2008 at 10:43 PM, jrl [EMAIL PROTECTED] wrote: can't log in as root am using directions from forums FAQ bash: su-: command not foundis the error msg. There should be a space before the dash, if you use it at all. For more information see either man su or info

Re: root

2008-08-24 Thread HggdH
On Sun, 2008-08-24 at 17:43 -0400, jrl wrote: can't log in as root am using directions from forums FAQ bash: su-: command not foundis the error msg. I am not sure what this has to do with coreutils, so you probably want to pursue any other questions on an appropriate forum. Just in case

[PATCH] tests: avoid spurious make check-root failure

2008-04-30 Thread Jim Meyering
FYI: tests: avoid spurious make check-root failure * README (Running tests as root): Also set PATH in suggested sudo command. This avoids failure of at least tests/cp/cp-a-selinux when the default PATH does not contain /sbin. * tests/cp/cp-a-selinux: Don't

[PATCH] tests: avoid a make check-root failure when mcstransd is running

2008-04-30 Thread Jim Meyering
and one more: tests: avoid a make check-root failure when mcstransd is running * tests/misc/chcon: Skip this test if mcstransd seems to be running. diff --git a/tests/misc/chcon b/tests/misc/chcon index 3a61c69..74248a3 100755 --- a/tests/misc/chcon +++ b/tests/misc/chcon

Enlever .wine et sessous dossiers du fichier root

2008-04-15 Thread Lucie, Claudia et Eddy Ghesquière
Bonjour, Voilà, j'ai instll Wine pour essayer d'installer everest poker , ma femme y joue pour le fun, et non pour de l'argent.Mai j'ai bien réussi à l'enleveravecsynaptic... (libwine)..Sur son eeePc..Mais il reste le dossier .wine et ses sous dossiers dans le fichier root.Comment puis-je

avoid failure of root-run make check

2008-04-01 Thread Jim Meyering
I've just pushed a few change sets. These two avoid failures that you'd see only when running make check as root. The second is even less likely in that to trigger the failure you'd have to be running make check as root on a system with SELinux in enforcing mode, but with mcstransd deactivated

Avoid misinterpreting mgetgroups failure in running root-only tests.

2008-01-23 Thread Jim Meyering
Just heard about this on IRC: Avoid misinterpreting mgetgroups failure in running root-only tests. * src/setuidgid.c (main): Don't misinterpret as size_t an error return from mgetgroups. Reported by Theodoros V. Kalamatianos. diff --git a/src/setuidgid.c b/src

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread anirkko
the coreutils-6.9 archive, pretty sure now that there is nothing disturbing in the paths, reconfigured, 'gmake' and 'gmake check' again: again same 2 errors as already reported (tests/ls/color-dtype-dir as non-root, and tests/rm/no-give-up as root). Made your modification, re-run the tests (this time

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread Jim Meyering
[EMAIL PROTECTED] wrote: FAIL: no-give-up Please change that test so it uses these two setuidgid commands instead of the one it currently has: setuidgid $NON_ROOT_USERNAME env PATH=$PATH id -a setuidgid $NON_ROOT_USERNAME env PATH=$PATH truss -o /tmp/rm-log rm -rf d fail=1 Then, the

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread anirkko
From [EMAIL PROTECTED] Thu May 3 12:23:56 2007 ... Thanks, but the important part was the output of id -a. What does that show? oops - forgot: uid=60001(nobody) gid=60001(nobody) groups=60001(nobody) (each time the same) Arto ___

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread Jim Meyering
[EMAIL PROTECTED] wrote: Please change that test so it uses these two setuidgid commands instead of the one it currently has: setuidgid $NON_ROOT_USERNAME env PATH=$PATH id -a setuidgid $NON_ROOT_USERNAME env PATH=$PATH truss -o /tmp/rm-log rm -rf d fail=1 oops - forgot: uid=60001(nobody)

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread anirkko
getfacl -a d getfacl -d d Hi Finally seen the reason for confusion why the test sometimes passes and sometimes not: If 'gmake check' is run as root from the tests/rm directory (such as after when I make your suggested modifications) then the test always passes because permissions

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread Jim Meyering
[EMAIL PROTECTED] wrote: Why is this so? The script called 'umask 000' because otherwise almost ... We're getting closer :-) Your use of 'umask 000' could be part of the problem, but that doesn't explain why rm's final rmdir(d) succeeded. The permissions of . (the directory containing d) were

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread anirkko
The permissions of . (the directory containing d) were set to be rwx-- (aka u=rwx), so that rmdir by non-owner should have failed, regardless of the umask. I thought chmod u=rwx . only sets user permissions without changing group or other permissions? Probably it should be chmod 755 . or

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread anirkko
ls -ld . after the line that does chmod u=rwx . in tests/rm/no-give-up, the output may help. result: drwxrwxrwx 3 root other 512 May 3 19:12 . FAIL: no-give-up because chmod u=rwx . only changes 'u', not 'go' permissions. substituting chmod 755 . yields: drwxr-xr-x 3

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread John Cowan
[EMAIL PROTECTED] scripsit: The permissions of . (the directory containing d) were set to be rwx-- (aka u=rwx), so that rmdir by non-owner should have failed, regardless of the umask. I thought chmod u=rwx . only sets user permissions without changing group or other permissions?

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread Jim Meyering
[EMAIL PROTECTED] wrote: The permissions of . (the directory containing d) were set to be rwx-- (aka u=rwx), so that rmdir by non-owner should have failed, regardless of the umask. I thought chmod u=rwx . only sets user permissions without changing group or other permissions? Probably it

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up

2007-05-03 Thread Jim Meyering
Jim Meyering [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: The permissions of . (the directory containing d) were set to be rwx-- (aka u=rwx), so that rmdir by non-owner should have failed, regardless of the umask. I thought chmod u=rwx . only sets user permissions without changing

  1   2   >