|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36078 chdir on ClearCase drive
Submitted: 2006-01-19 09:05 UTC Modified: 2006-01-20 10:47 UTC
From: jarek at katnik dot pl Assigned:
Status: Not a bug Package: Directory function related
PHP Version: 5.1.2 OS: Windows XP Pro SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jarek at katnik dot pl
New email:
PHP Version: OS:


 [2006-01-19 09:05 UTC] jarek at katnik dot pl
When I run chdir on drive mounted by ClearCase
I get warrning and directory doesn't change.

Reproduce code:
    //Drive 'R:' is mounted by ClearCase.

Expected result:
workinf directory should change to r:

Actual result:
Warning: chdir() [function.chdir]: No such file or directory (errno 2)
in {scriptName} on line {lineNumber}


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-19 09:08 UTC]
Blame Microsoft..or IBM. Not PHP bug.
 [2006-01-20 10:10 UTC] jarek at katnik dot pl
What makes you think that it is Microsoft or IBM bug?
By the way as far as I know ClearCase is developed by Rational Rose not by IBM.

I found something intresting which could make some clue.
This problem occurs only if I run the script through web server (Apache/1.3.31). From command line the script works fine.

The script:
    print 'Testing hard drive: ' . (chdir('d:')?'ok':'error');
    print "\r\n";
    print 'Testing ClearCase drive: ' . (chdir('r:')?'ok':'error');

Apache output:
Testing hard drive: ok
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in e:\www\regrCmd\test.php on line 4
Testing ClearCase drive: error

Command line output:
E:\www\regrCmd>php test.php
Testing hard drive: ok
Testing ClearCase drive: ok

With best regards
 [2006-01-20 10:47 UTC]
Duplicate of bug #35691.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC