Bug #17128: lstat (mis)behaves exactly like stat
| From: | Andrew dot Rice at inGenesis dot net | Date: | Thu, 09 May 2002 20:03:08 +0000 |
| Subject: | Bug #17128: lstat (mis)behaves exactly like stat | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7345@lists.php.net to get a copy of this message | ||
From: Andrew.Rice@inGenesis.net
Operating system: Debian GNU/Linux 2.2
PHP version: 4.2.0
PHP Bug Type: Filesystem function related
Bug description: lstat (mis)behaves exactly like stat
lstat tracks through symbolic link and returns the permission mode of the
actual file, rather than the link itself.
fileperms also seems to be affected.
--
Edit bug report at http://bugs.php.net/?id=17128&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17128&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17128&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17128&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17128&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17128&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17128&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17128&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17128&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17128&r=globals