From owner-freebsd-isp@FreeBSD.ORG Sun Sep 7 14:29:06 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CAD616A4BF for ; Sun, 7 Sep 2003 14:29:06 -0700 (PDT) Received: from bessel.tekniikka.turkuamk.fi (bessel.tekniikka.turkuamk.fi [193.166.133.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D69B143FF9 for ; Sun, 7 Sep 2003 14:29:04 -0700 (PDT) (envelope-from eyurtese@bessel.tekniikka.turkuamk.fi) Received: from localhost (eyurtese@localhost) by bessel.tekniikka.turkuamk.fi (8.9.2/8.9.2) with ESMTP id AAA27562 for ; Mon, 8 Sep 2003 00:29:02 +0300 Date: Mon, 8 Sep 2003 00:29:02 +0300 (WET) From: Evren Yurtesen To: freebsd-isp@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: default file creation umask php4+apache X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2003 21:29:06 -0000 I wonder how to set the default file creation umask of the php? I dont want to set this in my scripts! I want to make the setting system wide available. This kind of interesting because first my php scripts created files with mode 755, and then when I changed the tmp directory they started to be created with mode 700 and now I realized that they are created by 777 mode. Because of some weird reason... I already tried to set the umask while starting apache but it doesnt seem to effect. I also tried to change the umask in /etc/login.conf and it also doesnt seem to effect. I am not sure if I did a mistake though. Do you have any suggestions or experiences? Thanks Evren