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


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to