php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17665 I have no permission to create or write data into files when I use NTFS.
Submitted: 2002-06-09 07:58 UTC Modified: 2002-06-09 08:01 UTC
From: milp at milp dot sk Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.2.1 OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: milp at milp dot sk
New email:
PHP Version: OS:

 

 [2002-06-09 07:58 UTC] milp at milp dot sk
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-09 08:01 UTC] mfischer@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.

The problem is on your setup of W2k|XP/IIS
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 10 05:01:35 2025 UTC