primm wrote:
On Friday 28 September 2007 22:44, Sloan wrote:
primm wrote:
I created a user ftpadmin and a group ftpadmin. I made ftpadmin's home folder /srv/www/htdocs
everything under /htdocs is owned by ftpadmin:ftpadmin
I can now ftp remotely to the /htdocs folder. No problem
Having made these changes I can no longer see any web pages.
What do I need to do to be able to both ftp and see webpages? Who has to own what? chgrp -R www /srv/www/htdocs chmod -R g+rx /srv/www/htdocs
Joe
OK. I can now both use ftp and see web pages. Brilliant. Saved me loads time.
Just one more question. /srv/www/htdocs is now (user:group) ftpadmin:www
Is that correct? Or doesn't it matter.
That is indeed the setup I recommend for your situation - there may be other configurations that may seem to work, but this is the most straightforward approach that comes to mind. Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org