Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 8 Feb 2009 06:11:27 -0800 (PST) Gabe wrote: > --- On Sun, 2/8/09, Nicolas Letellier wrote: > > > From: Nicolas Letellier > > Subject: Re: Problem when uploading files with Apache > > To: "FreeBSD Questions" > > Cc: "Glen Barber" , &

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 8 Feb 2009 09:09:45 -0500 Glen Barber wrote: > On Sun, Feb 8, 2009 at 9:02 AM, Nicolas Letellier > 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:whe

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 8 Feb 2009 06:11:27 -0800 (PST) Gabe wrote: > --- On Sun, 2/8/09, Nicolas Letellier wrote: > > > From: Nicolas Letellier > > Subject: Re: Problem when uploading files with Apache > > To: "FreeBSD Questions" > > Cc: "Glen Barber" , &

Re: Problem when uploading files with Apache

2009-02-08 Thread Gabe
--- On Sun, 2/8/09, Nicolas Letellier wrote: > From: Nicolas Letellier > Subject: Re: Problem when uploading files with Apache > To: "FreeBSD Questions" > Cc: "Glen Barber" , "Lowell Gilbert" > > Date: Sunday, February 8, 2009, 6:02 AM >

Re: Problem when uploading files with Apache

2009-02-08 Thread Glen Barber
On Sun, Feb 8, 2009 at 9:02 AM, Nicolas Letellier 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 uploading? -- Gl

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 08 Feb 2009 08:53:59 -0500 Lowell Gilbert wrote: > Nicolas Letellier 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 t

Re: Problem when uploading files with Apache

2009-02-08 Thread Lowell Gilbert
Nicolas Letellier 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 uploading into should

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
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 > e

Re: Problem when uploading files with Apache

2009-02-08 Thread Glen Barber
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. > The problem i

Re: Problem when uploading files with Apache

2009-02-08 Thread Nicolas Letellier
On Sun, 8 Feb 2009 07:50:34 -0500 Glen Barber wrote: > On Sun, Feb 8, 2009 at 7:31 AM, Nicolas Letellier > 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 (compiled in apache module).

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