Date: Sun, 21 Jun 1998 20:04:16 +1000 From: "Eddie Irvine" <eirvine@tpgi.com.au> To: <jin@voxon.com>, "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG> Subject: Re: Chmod and restriction on space Message-ID: <01bd9cfb$f32d5280$b01a1acb@gretchen>
next in thread | raw e-mail | index | archive | help
>-----Original Message-----
>From: Jinsoo Kim <jin@voxon.com>
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bd9cfb$f32d5280$b01a1acb>
