bug-coreutils
[Top][All Lists]
Advanced

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

Re: -e test for file exists problem with dangling symlinks


From: Alfred M. Szmidt
Subject: Re: -e test for file exists problem with dangling symlinks
Date: Tue, 22 Feb 2005 18:45:39 +0100

   -e file exists test fails if file is a dangling symlink, this to me does
   not seem like the correct behavior, the test should not follow the symlink
   (lstat'ed instead of stat'ed).

The file (whatever the symlink is pointing to, and a file isn't a
symlink) doesn't exist, so it should fail.  Why do you think that it
should behave differently?

Cheers!




reply via email to

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