bug-coreutils
[Top][All Lists]
Advanced

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

coreutils-6.10 tests/misc/pwd-long fails when / is not readable


From: Theodoros V. Kalamatianos
Subject: coreutils-6.10 tests/misc/pwd-long fails when / is not readable
Date: Sat, 23 Feb 2008 19:26:46 +0200 (EET)
User-agent: Alpine 1.00 (LRH 882 2007-12-20)

Hi,

as the subject says, the tests/misc/pwd-long test fails with a 'Permission denied' error when / is not readable by the user that runs the test. The reason for this is that it apparently tries to read the '../../../ ... ../../../' directory, which normally points to root.

While the usefulness and/or validity of having / unreadable by unprivileged users is debatable, at least one Linux distribution (Mandrake/Mandriva) seems to keep it that way in its "secure" setting and I was wondering if it would be possible to work around this issue (would '../misc/../misc/../misc ...' do ?) or at least to make that test run as root only or be skipped if / is not readable.


Regards,

Theodoros Kalamatianos




reply via email to

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