From owner-freebsd-questions Thu Aug 26 14: 9:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from members.activetech.net (members.activetech.net [209.81.201.6]) by hub.freebsd.org (Postfix) with ESMTP id 3B69A14C84 for ; Thu, 26 Aug 1999 14:09:55 -0700 (PDT) (envelope-from kris@activetech.net) Received: from wybitny (wybitny.activetech.net [209.81.201.10]) by members.activetech.net (Pro-8.9.3/Pro-8.9.3) with SMTP id QAA05621 for ; Thu, 26 Aug 1999 16:18:27 -0500 (CDT) Message-ID: <035901bef006$b76d0d80$0ac951d1@activetech.net> From: "Kris Kedzierski" To: "FreeBSD-questions@freebsd.org" References: Subject: Re: User Permissions Date: Thu, 26 Aug 1999 16:05:24 -0500 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 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [snip] > > tip #1: read the documentation. > tip #2: be more specific, you didn't even tell us what web server > you are running... > > assuming apache: It is Apache 1.3.6 with php > > http://www.apache.org/docs-1.2/mod/mod_userdir.html > > basically, you can make a directory such as: "/usr/home/webspace" > make it owner:group root:wheel, make sure it is rwx--x--x, then > set line with "UserDir" in it to: > > UserDir /usr/home/webspace > > then when a user needs a web dir, just make it in /usr/home/webspace > and chown it username:group and make it 755. > I got that far thanks, but the real question is when i set up users i need to set the permissions for the user dir. Should users belong to different groups, same groups or i need to change the permissions on each user dir after i added a user? Any resources on that anywhere? Thanks Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message