Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
Hello. I use apache13 with FreeBSD 6.3. I have some websites, in : /var/www/sites/site1 /var/www/sites/site2 I use PHP 5 (compiled in apache module). The rights are: ls -ls /var/www/sites/site1: www:site1 All files are owned by www user. All files are grouped in site{1,2} group. I have a php

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 8 Feb 2009 07:50:34 -0500 Glen Barber glen.j.bar...@gmail.com wrote: On Sun, Feb 8, 2009 at 7:31 AM, Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use apache13 with FreeBSD 6.3. I have some websites, in : /var/www/sites/site1 /var/www/sites/site2 I use PHP 5

Re: Problem when uploading files with Apache

2009-02-08 Thread Glen Barber
On Sun, Feb 8, 2009 at 7:56 AM, Nicolas Letellier nico...@nicoelro.net 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.

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 8 Feb 2009 08:01:13 -0500 Glen Barber glen.j.bar...@gmail.com wrote: On Sun, Feb 8, 2009 at 7:56 AM, Nicolas Letellier nico...@nicoelro.net 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

Re: Problem when uploading files with Apache

2009-02-08 Thread Lowell Gilbert
Nicolas Letellier nico...@nicoelro.net writes: So, anybody could explain me when I upload a file, rights are www:wheel? I'm going to guess that it's just inheriting the group from the directory. The normal default in BSD is for a file to get the gid of the directory. The directory you are

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 08 Feb 2009 08:53:59 -0500 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Nicolas Letellier nico...@nicoelro.net writes: So, anybody could explain me when I upload a file, rights are www:wheel? I'm going to guess that it's just inheriting the group from the

Re: Problem when uploading files with Apache

2009-02-08 Thread Glen Barber
On Sun, Feb 8, 2009 at 9:02 AM, Nicolas Letellier nico...@nicoelro.net wrote: That's I always learn. But in this case, it's not true. I upload into testdir/ which has www:www rights. And I launch my upload script, and the file is www:wheel What are the permissions on the file you are

Re: Problem when uploading files with Apache

2009-02-08 Thread Gabe
--- On Sun, 2/8/09, Nicolas Letellier nico...@nicoelro.net wrote: From: Nicolas Letellier nico...@nicoelro.net Subject: Re: Problem when uploading files with Apache To: FreeBSD Questions freebsd-questions@freebsd.org Cc: Glen Barber glen.j.bar...@gmail.com, Lowell Gilbert freebsd-questions

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 8 Feb 2009 06:11:27 -0800 (PST) Gabe n...@att.net wrote: --- On Sun, 2/8/09, Nicolas Letellier nico...@nicoelro.net wrote: From: Nicolas Letellier nico...@nicoelro.net Subject: Re: Problem when uploading files with Apache To: FreeBSD Questions freebsd-questions@freebsd.org Cc

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 8 Feb 2009 09:09:45 -0500 Glen Barber glen.j.bar...@gmail.com wrote: On Sun, Feb 8, 2009 at 9:02 AM, Nicolas Letellier nico...@nicoelro.net wrote: That's I always learn. But in this case, it's not true. I upload into testdir/ which has www:www rights. And I launch my upload

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 8 Feb 2009 06:11:27 -0800 (PST) Gabe n...@att.net wrote: --- On Sun, 2/8/09, Nicolas Letellier nico...@nicoelro.net wrote: From: Nicolas Letellier nico...@nicoelro.net Subject: Re: Problem when uploading files with Apache To: FreeBSD Questions freebsd-questions@freebsd.org Cc