[Charlug] Help with Fedora Core problem
Jason Edgecombe
jason at rampaginggeek.com
Tue Feb 6 13:10:22 EST 2007
Joe Josey wrote:
> Dennis came to last Saturday's meeting and needs help with a Fedora
> Core 6 installation.
> Please read the following and reply direct to Dennis if you can help
> your fellow CharLUG member.
> Thanks
>
> Dennis Shearin wrote:
> Hello Joe,
> It good to meet you at the CharLUG meeting the other day. I'm going to
> try to make more meetings, but Sat. mornings are generally not that
> good for me.
> Thanks for your offer to help with my new Fedora setup.
> What I'm trying to do is very common and theoretically easy - but I
> can't get it to work.
> I'm trying to set up a basic "shared host" which somewhat mirrors the
> Linux servers I access via the net. Each new user gets their own space
> (i.e., /home/username). This part is working. Each of those users
> should automatically be able to access that space (i.e., chroot) via
> SSH and FTP. Neither of those work at all.
> They should also be able to place web pages in their own web directory
> (i.e., /home/username/public_html) and these pages should be
> accessible from a browser by going to http://hostname/~username. I was
> working on this tonight. It looks like it's *almost* working. It looks
> like it is going to the right directory. I don't get a 404 error.
> Instead I get a 403 - Forbidden.
> I've looked up some documentation and verified that the permissions
> are all set correctly. I couldn't find any info on what the ownership
> should be, but I think that's not important if the permissions are
> right. At any rate, I've set the ownership for the public_html
> directory and everything in it to be username:apache. I think that
> should work.
>
> I can send you copies of the conf files if you want.
> Right now, I want to get the web server working right (by the way, it
> works fine for the main web directory). Then I need to have FTP
> working (I installed ProFTP). SSH is not as much of an issue as I
> managed to get VNC working and can always open a terminal from Gnome.
> TIA,
> Dennis
>
Hi There,
chmod a+rx /home
chmod a+x /home/user
chmod a+rx /home/user/public_html
If you have selinux enabled then you also need to enable homedirs with
"setsebool" and set the proper selinux permissions on the folder.
Jason
More information about the Charlug
mailing list