Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0

Bug #9352 Bug on _dirCheck function over nfs path
Submitted: 2006-11-16 12:12 UTC
From: tobia dot caneschi at register dot it Assigned: cellog
Status: Closed Package: Archive_Tar (version 1.3.1)
PHP Version: 5_2 CVS-2006-11-16 OS: Linux Slackware
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 45 - 24 = ?

 [2006-11-16 12:12 UTC] tobia dot caneschi at register dot it (Tobia Caneschi)
Description: ------------ Over nfs filesystem is_dir caching return 0 on certain existent directory. the next mkdir exit the extract process improperly. ..... function _dirCheck($p_dir) { //bug fix start clearstatcache(); //bug fix end if ((@is_dir($p_dir)) || ($p_dir == '')) return true; if (($p_parent_dir != $p_dir) && ($p_parent_dir != '') && (!$this->_dirCheck($p_parent_dir))) { return false; } if (!@mkdir($p_dir, 0777)) { $this->_error("Unable to create directory '$p_dir'"); return false; } return true; } .....


 [2006-12-20 20:49 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.