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
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.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 23:01:29 2024 UTC