From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 13:11:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31884106567A for ; Sun, 8 Feb 2009 13:11:01 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: from mail.nicoelro.net (helm.nicoelro.net [87.98.216.147]) by mx1.freebsd.org (Postfix) with ESMTP id E391C8FC18 for ; Sun, 8 Feb 2009 13:11:00 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: by mail.nicoelro.net (Postfix, from userid 58) id 3653578FB5; Sun, 8 Feb 2009 14:11:00 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on helm.nicoelro.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=6.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from orthanc (mne69-8-82-247-37-160.fbx.proxad.net [82.247.37.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nicolas@nicoelro.net) by mail.nicoelro.net (Postfix) with ESMTP id 36EB978C82; Sun, 8 Feb 2009 14:10:59 +0100 (CET) Date: Sun, 8 Feb 2009 14:11:01 +0100 From: Nicolas Letellier To: Glen Barber Message-Id: <20090208141101.1c18bbc8.nicolas@nicoelro.net> In-Reply-To: <4ad871310902080501y7bcfc7ev202aa5e81f5b2050@mail.gmail.com> References: <20090208133123.401c8d1a.nicolas@nicoelro.net> <4ad871310902080450r39b89f85uc1668657f55ee4d6@mail.gmail.com> <20090208135624.72f60572.nicolas@nicoelro.net> <4ad871310902080501y7bcfc7ev202aa5e81f5b2050@mail.gmail.com> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Problem when uploading files with Apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 13:11:01 -0000 On Sun, 8 Feb 2009 08:01:13 -0500 Glen Barber wrote: > On Sun, Feb 8, 2009 at 7:56 AM, Nicolas Letellier wrote: > > I have another FreeBSD (7.0) and Apache 1.3, and it works. On this machine (6.3) it does not work. > > What do you mean it does not work. You state below there are no > errors. If it "does not work" there should be errors. It does not work because Apache don't set 'good rights'. Without error. So, for Apache, there are no errors. For me, yes. It is not normal that the rights are www:wheel. > > The problem is... I don't understand the "wheel". Apache does not run in wheel. All my folders/files are not grouped by "wheel". > > 'wheel' is root's default group. But it is not the www's default group. And Apache runs a www user. I *never* launch my scripts as root. So, that's why I don't understand. > > > > I have nothing in log. Because there are no errors... All is ok... Just the rights...... > > > > But you say above "it does not work." It does not work because apache set www:wheel on rights when I UPLOAD a file ; on the other hand, when I create file/folder, the rights are www:www. When I launch this very simple script: ./aaa file is created with www:www. So, anybody could explain me when I upload a file, rights are www:wheel? And WHY wheel group is used? This group may never be used for Apache. -- -Nicolas.