Bug #17665: I have no permission to create or write data into files when I use NTFS.
| From: | milp at milp dot sk | Date: | Sun, 09 Jun 2002 11:58:10 +0000 |
| Subject: | Bug #17665: I have no permission to create or write data into files when I use NTFS. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-9918@lists.php.net to get a copy of this message | ||
From: milp@milp.sk
Operating system: Windows XP
PHP version: 4.2.1
PHP Bug Type: Filesystem function related
Bug description: I have no permission to create or write data into files when I use NTFS.
OS - Windows XP with NTFS and IIS 5.1
I have set write permission in IIS to all files located in
Inetpub\wwwroot\.
my problem:
It all depend on what filesystem i'm using.
If i use FAT32 everything is all right, i can create new files or write
data into them.
But when i'm using NTFS i can't create new files or write data into them.
PHP report that it doesn't have permission on the files.
script:
fopen("sample.txt", "a");
flock($fp,2);
fwrite($fp, "bla bla bla");
flock($fp,3);
fclose($fp);
I had the same problem in Windows 2000 and now i have it in Windows XP
too. So, where's the problem, in IIS, PHP or in me?
Thank you.
--
Edit bug report at http://bugs.php.net/?id=17665&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17665&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17665&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17665&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17665&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17665&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17665&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17665&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17665&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17665&r=globals