ID: 49049 Updated by: [email protected] Reported By: rusxakep at gmail dot com -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Linux 2.6.29 PHP Version: 5.2.10 New Comment:
Did you or did you not compile using the LFS flags? Previous Comments: ------------------------------------------------------------------------ [2009-07-25 20:20:52] rusxakep at gmail dot com No, isn't LFS bug. I'm run test php from LFS bug notes. mkdir working fine. Directory has been created successfully.) ------------------------------------------------------------------------ [2009-07-24 17:10:09] [email protected] Would you please just do what I asked and try compile with LFS flags..? I'm quite sure this is same issue as in that other bug. ------------------------------------------------------------------------ [2009-07-24 16:39:57] rusxakep at gmail dot com I'm not guru in php development, but access("/home/1/2/3", F_OK) = -1 EACCES (Permission denied) stat64("/home/1/2", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 why stat64("/home/1/2"), but no stat64("/home/1/2/3")? why "permission denied" placed here with using set execution bit feature?) ------------------------------------------------------------------------ [2009-07-24 16:34:47] rusxakep at gmail dot com and first run with strace: access("/home/1/2/3", F_OK) = -1 ENOENT (No such file or directory) stat64("/home/1/2", 0xbf9bd910) = -1 ENOENT (No such file or directory) stat64("/home/1", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 mkdir("/home/1/2", 0700) = 0 mkdir("/home/1/2/3", 0700) = 0) ------------------------------------------------------------------------ [2009-07-24 16:10:34] rusxakep at gmail dot com Sorry, previous strace has been invalid. Correct: munmap(0xb7ef5000, 4096) = 0 access("/home/1/2/3", F_OK) = -1 EACCES (Permission denied) stat64("/home/1/2", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 mkdir("/home/1/2/3", 0700) = -1 EEXIST (File exists) write(1, "\nWarning: mkdir(): File exists in"..., 61 Warning: mkdir(): File exists in /home/1/test.php on line 3 ) = 61 close(2) = 0 close(1)) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/49049 -- Edit this bug report at http://bugs.php.net/?id=49049&edit=1
