I tried setting up my web server with the user's home directories as a NFS and everything seemed to be working except for one thing I found. When I used php write which I have a couple scripts that do, it can't use fopen with the option "w" which means to trunicate the length to 0 and point at the beginning of the file.
It allows me to use "a" which just writes at the bottom of the file. This is weird because when I login to shell I can delete the files, edit the files, and make files.
Any ideas why it would cause this?
It gives me this error....[function.fopen]: failed to open stream: Operation not permitted
Thanks in advance,
Devon
PS. httpd 2.0.59, php 4.4.6, userspace nfs, using no_root_squash,sync,no_all_squash,rw in the exports.
It allows me to use "a" which just writes at the bottom of the file. This is weird because when I login to shell I can delete the files, edit the files, and make files.
Any ideas why it would cause this?
It gives me this error....[function.fopen]: failed to open stream: Operation not permitted
Thanks in advance,
Devon
PS. httpd 2.0.59, php 4.4.6, userspace nfs, using no_root_squash,sync,no_all_squash,rw in the exports.
Last edited: