Debian GNU/Linux 4.0 (etch) - 2.6.18-4-686
Apache 1.3.34
SuPHP 0.6.2
PHP 5.2.0

Hi there,

I'm having troubles getting the right file permissions when using SuPHP 
on a NFS mount.
For apache to read uploaded files, they need to automatically get 644 
permissions.

Now here's the deal:

"/usr/shared/tmp" is a NFS mounted temp-directory
"/tmp" is a normal locally mounted temp-directory

[php.ini]
upload_tmp_dir = /usr/shared/tmp

[suphp.conf]
umask=0022

When I upload a file, using "/usr/shared/tmp" as the upload_tmp_dir, the 
file ends up with 600 permissions.
When I upload a file, using "/tmp" as the upload_tmp_dir, the file ends 
up with 644 permissions (which is what I want).

I'm puzzled as to why this is.
Is there anyone who uses SuPHP next to NFS without having these problems?

Thanks in advance,
Fili


_______________________________________________
suPHP mailing list
[email protected]
http://lists.marsching.biz/mailman/listinfo/suphp

Reply via email to