Apache and writing to NFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am trying a script (PHP) that writes files to disk.
Now, writing the files locally works file, if I have a write-to
directory owned apache:apache.
Files created are owned apache:apache by default.

But, I want to try this:
I have an NFS share that has a large amount of space. I want the files
to be written on there. So, I mount the NFS share as a directory and
chown it apache:apache. Even chmodded it 777 just to be sure.

It keeps failing when writing to it.
I get the following error:

failed to open stream: Stale NFS file handle in script.php on line 6
(line 6 contains the php-fwrite command)

I don't think this is related to PHP, but to Apache that has
permission problems writing to an NFS share.

I am using Apache 2.2 and PHP5. SELinux is OFF.

Any idea?

TY

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux