bug-coreutils
[Top][All Lists]
Advanced

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

Re: umask also influences test/rm/fail-2eperm


From: anirkko
Subject: Re: umask also influences test/rm/fail-2eperm
Date: Fri, 4 May 2007 10:57:28 +0200 (MET DST)

coreutils-6.9/tests/rm/fail-2eperm needs a 'chmod 644 a/b' or equivalent
after the 'touch a/b || framework_failure=1' to be able to cope with
different umasks.
No idea though why it had shown up sometimes, not othertimes, with the same 
umask=000.

Also, in tests/rm/no-give-up, wouldn't 'chmod 755 .' (or equivalent) be better
than 'chmod go= .' in the sense that the test should always test exactly
the same thing, independent of umask? (i.e. the u bits also guaranteed always
the same, in case umask was something stupid with nonzero u) Or else, maybe
explicitly set umask?

Arto




reply via email to

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