PDA

View Full Version : ispconfig3 + mod_php + apache umask


d0nut
22nd September 2008, 23:21
hey there,

i am using ispconfig3 beta7 (updated from beta6) on debian4.0 with mod_php.
when i upload a file it gets 0600 permissions and is owned by the webserver...
the file can be access via the browser.. everything seems to be ok.
but some time later a cron changes the whole directory to the ownership of web10:client0...
and 0600 permissions don't allow the webserver to access this file.

should my sript do the chmod itself or is it a bug in ispconfig?

till
22nd September 2008, 23:46
The umask of file uploads with PHP is not controlled by ISPConfig. As with any PHP file upload, you will have to set it in the php script.

d0nut
23rd September 2008, 10:11
ok, thanks a lot.. then i found a bug in a open source cms... and will ask the developers to call chmod after the upload.