You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rakhi Verma <ra...@flextronicssoftware.com> on 2005/12/28 10:44:04 UTC

[users@httpd] File access Problem




Hi,
                I am facing file access errors using apache on linux
server.

      I am trying to open a file (with rwx permissions to u,g and o i.e
mode=777 ) from a cgi script (.pl) using Apache Web server.
i.e. my html page invokes a perl script wchich tries to open an existing
file with all permissions set .
But i am unable to open the file . The open() call gives error .

Similary, if i try to write a new file through CGI script , it gives error.

I have checked the directory and file permissions in linux. They are set to
777.
Still files can not be read or written on the linux server.

Surprisingly, my code works on some linux servers and not on others.
Is this related to some system-linux/Apache configuration ?

Can anyone please resolve my problem ASAP as it is very urgent.

Thanks & regards
Rakhi






***********************  FSS-Unclassified   ***********************
"DISCLAIMER: This message is proprietary to Flextronics Software
Systems Limited (FSS) and is intended solely for the use of the
individual to whom it is addressed. It may contain  privileged or
confidential information and should not be circulated or used for
any purpose other than for what it is intended. If you have received
this message in  error, please notify the originator immediately.
If you are not the intended recipient, you are notified that you are
strictly  prohibited  from  using, copying, altering, or disclosing
the contents of this message.  FSS  accepts no  responsibility  for
loss or damage arising from the use of  the information transmitted
by this email including damage from virus."


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org