Date: Fri, 28 Jul 2006 05:43:25 +0800 From: "jan gestre" <freebsd.ph@gmail.com> To: eoghan <eoghanj@gmail.com> Cc: freebsd <freebsd-questions@freebsd.org> Subject: Re: user permissions Message-ID: <a25afc300607271443l8fee5f7sdbf99977640e8b5a@mail.gmail.com> In-Reply-To: <AC96E486-089B-4A2B-8C6E-F488E009933B@gmail.com> References: <AC96E486-089B-4A2B-8C6E-F488E009933B@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/28/06, eoghan <eoghanj@gmail.com> wrote: > > Hi > I have a user that I use for doing the odd bit of work on my > freebsd-6.1-RELEASE machine. > I wanted to set apache to work from: > /home/user/public_html/ > instead of the default location. I can create these folders no > problems but i have to do it as root: > mkdir /home/user/public_html/ > How do I ensure my user can copy files from gui (gnome) to this > folder. Im told I dont have permission to copy to this folder. > Also apache tells me I dont have permission when I change the > DocumentRoot to point to /home/user/public_html/ > Just not sure how to go about giving a user permissions on files/ > folders I want them to be able to edit. Any pointers? > Thanks > Eoghan > the default permission for apache assuming you are using apache22 is 755, changing it to 777 will have security repercusions, why not add that user to group that owns/runs apache or give that user sudo power. HTH
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a25afc300607271443l8fee5f7sdbf99977640e8b5a>