On Tue, May 3, 2016 at 12:01 PM, Christopher Bottoms <
[email protected]> wrote:

> Failed to change the working directory to '/home/test/tests/path': did not
> pass 'd r' test


Urgh. Please tell me it is not testing permissions before changing
directory; that's pointless and (although I think "safe" here) wide open to
race conditions. If you want to check it afterward to try to guess why it
failed, fine; but let the OS do the check instead of trying to guess at it.

(And I can't wait to see this fail on a network filesystem which doesn't
use Unix permissions: NFS4, AFS, CIFS, ....)

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to