Hi David,
thanks for the note, I've just tried that but still get the error, the permissions were set to:
drwxrwxrwx 19 admin users 4096 Apr 15 00:41 html/
and the script is:
drwxr-xr-x 4 admin users 4096 Apr 15 00:38 weinstall/
I suspect the problem is a bit deeper than just directory permissions and ownership.
I think this might be something to do with the SELinux security, I guess I might have to create or edit a policy to allow php to write files to the webroot.
Can anyone make any other suggestions on what might be stopping the php script from writing to the webroot (/home/httpd/html) and if it's the security policies how do I make the changes??
Kind regards,
Michael.
On 15 Apr 2005, at 00:38, David Hogan wrote:
Is php_safe_mode enabled? If so the owner of the php script file must also
own the directory in order to be able to write to it.
Cheers, David Hogan
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Speechley Sent: Friday, 15 April 2005 8:49 AM To: [email protected] Subject: Directory security/permissions
Hi,
I'm setting up a development server based on Trustix 2.2 and am having problems making the webroot (/home/httpd/html) writable to allow a php script to write to the directory. I've issued the chmod command and made the directory writable to all (777) but still get an error while writing to the directory.
As I'm new to Trustix and SELinux I guess this might be something to do with the security settings, can anyone help with setting up the security permissions?
Kind regards,
Michael.
_______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
_______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
