From owner-freebsd-questions Tue Mar 13 5:31:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 88DE937B719 for ; Tue, 13 Mar 2001 05:31:11 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 76458 invoked by uid 100); 13 Mar 2001 13:31:10 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15022.8478.630762.649497@guru.mired.org> Date: Tue, 13 Mar 2001 07:31:10 -0600 To: "Dead Line" Cc: questions@freebsd.org Subject: Re: Apache is taking the chmod. In-Reply-To: <105503959@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dead Line types: > Hello, > > Please, > Can you give me an Example? > I tried for the past 4 days, but i faild. > How do we give the public_html directry the read mode for httpd > only? > > when i gave it chmod 777 or 755 it still wont work because its effected > by the group mode which is 750. The mode on everydirectory in the path needs to be 750 (if not more open). They all need to be owned by the same group. You need to set the group that apache runs as to be that group in httpd.conf. can you support? > Thank you > > > >You need to open up permissions in those public_html directories for > >httpd. You need at least group read on the files. > > > >Dead Line wrote: > > > > > > Hello All, > > > > > > Iam on FreeBSD 4.2-Release. > > > > > > There is Apache-fp installed in my box. > > > > > > I have a group /home/shells > > > This group is in chmod 750 (So no one from out side this group > > > can enter this group, only group members) > > > and each user in this group is in chmod 700 > > > (No other than the owner can enter to his home directry) > > > > > > This is fine, > > > The problem is, when I create a directry public_html > > > inside thier home shell the apache is taking the group > > > and the user chmod so when we try to retrive the URL > > > it will say " Access denied, you donot have permission" > > > > > > what to do please? > > > could someone help? > > > > > > Thank you. > > > Marwan. > > > > >_________________________________________________________________________ > > > Get Your Private, Free E-mail from MSN Hotmail at > >http://www.hotmail.com. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Mike Meyer http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message