From: sthomas at townnews dot com
Operating system: Redhat 7.3
PHP version: 4.3.1
PHP Bug Type: Filesystem function related
Bug description: Glob over NFS
When using glob over NFS, it appears that the flag GLOB_ONLYDIR does not
work.
<?PHP
print_r(glob("dir/*", GLOB_ONLYDIR));
print_r(glob("nfs-dir/*", GLOB_ONLYDIR));
?>
The first glob will only return the directories, which is correct.
However the second glob will return all files. The only difference
between these two directories is that nfs-dir is a directory mounted over
NFS.
--
Edit bug report at http://bugs.php.net/?id=22641&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22641&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22641&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22641&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22641&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22641&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22641&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22641&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22641&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22641&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22641&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22641&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22641&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22641&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22641&r=gnused