From:             i dot dastolfo at smart dot it
Operating system: Linux
PHP version:      5.2.4
PHP Bug Type:     *Directory/Filesystem functions
Bug description:  fopen doesn't work with ocfs2 cdsl

Description:
------------
The fopen function (and maybe other filesystem related functions) can't
handle CDSL files/directories.
CDSL stands for context dependent symbolic link and it's a feature of
Oracle Cluster FileSystem 2 (OCFS2).
While fopen works fine with regular files and directory inside an OCFS2 
filesystem, gives "failed to open stream: No such file or directory" for 
CDSL files. 

Reproduce code:
---------------
make a OCFS2 filesystem (you can setup it even with 1 node).
Create a regular file (touch test)
Transform it in a cdsl file (ocfs2cdsl -t hostname -c test)
fopen("test","w"); => Warning: fopen(test) [function.fopen]: failed to
open stream: No such file or directory in ...


-- 
Edit bug report at http://bugs.php.net/?id=42594&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42594&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42594&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42594&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42594&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42594&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42594&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42594&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42594&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42594&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42594&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42594&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42594&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42594&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42594&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42594&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42594&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42594&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42594&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42594&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42594&r=mysqlcfg

Reply via email to