Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.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)    
Subscription  


 [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; } .....

Comments

 [2006-12-20 20:49 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!