Re: problems seeing files

From: Date: Wed, 01 Nov 2000 15:42:34 +0000
Subject: Re: problems seeing files
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3623@lists.php.net to get a copy of this message
"David P. Schwartz" wrote: > I'm working on what so far is a very simple script. I've uploaded a file to a > directory on a web host (two of 'em, in fact) and have this little script that's > just trying to open the file and read it (for now). The script is not in the > upload directory. All directories and files have at least 644 permissions. > > I can go in with FTP and Telnet and access both the script and the file in > question, but when I run the script from my browser, it cannot see the file! > One host says I don't have permissions to access the directory containing the > file, the other just inexplicably says the pathname doesn't exist. (The former > host forces SETGID flags on all scripts for some reason.) > > This seems totally weird to me. Has anybody run into this problem before? It may be that the user identified by the server when accessing via the web (http) does not have permissions to access that particular folder/directory, even though you may have modified the directory permissions yourself... OR the user underwhich PHP runs (as it must load on the system as a particular user-owned process) does not have appropriate permissions. This sounds like more of an issue for your ISP than for the php-windows list - also the folks on the unix list might be able to give you more help in this regard. We're just a bunch of lowly windows junkies here ;) -- Andy Hoffman Web Developer Bristol-Myers Squibb email: andy.hoffman@bms.com

« previous php.windows (#3623) next »