From owner-freebsd-questions Sun Jun 21 03:04:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA27866 for freebsd-questions-outgoing; Sun, 21 Jun 1998 03:04:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from buffy.tpgi.com.au (buffy.tpgi.com.au [203.12.160.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA27829 for ; Sun, 21 Jun 1998 03:04:06 -0700 (PDT) (envelope-from eirvine@tpgi.com.au) Received: (from smtpd@localhost) by buffy.tpgi.com.au (8.8.7/8.8.7) id UAA29455; Sun, 21 Jun 1998 20:05:23 +1000 Received: from tar-ppp-176.tpgi.com.au(203.26.26.176), claiming to be "gretchen" via SMTP by buffy.tpgi.com.au, id smtpda29435; Sun Jun 21 20:05:12 1998 From: "Eddie Irvine" To: , "'freebsd-questions@freebsd.org'" Subject: Re: Chmod and restriction on space Date: Sun, 21 Jun 1998 20:04:16 +1000 Message-ID: <01bd9cfb$f32d5280$b01a1acb@gretchen> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >-----Original Message----- >From: Jinsoo Kim >I use FreeBsd 2.2.5( From Walnut Creek CDrom ) as a mail and web server > >1. I want to give certain directory rights for web designers only. I looked man pages, but I could not find a way to do it. Here is how I do it with apache 1.3 Let us say we have a web designer called "fred" and he is a member of group "smith". Let us say that apache runs under user "webuser" and group "webgroup". Let us say that the root directory for apache is "/htdocs". su to root. cd /htdocs mkdir freds-pages chown fred.webgroup freds-pages Now make a softlink (ln -s) to /htdocs/freds-pages inside fred's home directory: ln -s /htdocs/freds-pages /usr/home/fred/webspace chown fred.webgroup /usr/home/fred/webspace That should do it. >2. There are so many mails coming to server, Can you show me how to limit space for mail dunno on that one. >3. Where can I find information for CGI which comes with FreeBsd 2.2.5 buy the book on Apache from O'Rielly. :-) Eddie. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message