BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} Forbidden errors



Thanks, I setting 755 worked, I'm a little unsure how that was different
then setting a+r though

Jon West (contractor)             wjon@mail.nih.gov
Unit on Functional Imaging Methods, NIMH/NIH
10 Center Dr, Room 1D80 Bethesda MD. 20892-1148
Phone:301-402-7294    Fax:  301-402-1370


-----Original Message-----
From: Philip Clark [mailto:bblist@cannae.uklinux.net] 
Sent: Friday, October 27, 2006 3:17 PM
To: bb@bb4.com
Subject: Re: {bb} Forbidden errors

On Fri, 2006-10-27 at 18:44, West, Jon (NIH/NIMH) [C] wrote:
> Hi all, I seem be having difficulty getting the web portion of BB to
> work. I am getting Forbidden errors and I can't figure out why. I have
> disabled SELinux, I have put FollowSymLinks in my httpd.conf. BB
resides
> in /home/bb/bb. Is there anything else I need to change to stop
getting
> forbidden errors. I'm thinking it may have something to do with home
> directory permissions or something

There are more hints about this in the file:

  $BBHOME/www/help/forbidden.html

in your distribution or:

  http://demo.bb4.com/bb/help/help/big_brother_unix_help.htm

on the BB demo site.

The likely cause is that your web-server user (who is used when
accessing the pages) is unable to traverse one of the directories
to get to BB. To test, you can use "su" to change to the web
user and, starting at the root directory, attempt to move to
each of the directories on the path to the HTML files, one
at a time. E.g.:

    cd /
    su
    Password: 
    su nobody
    cd home
    cd bb
    cd bb1.9i-btf
    cd www
    cat bb.html

The chances are that at some point(s) the directory permissions
will not allow you any further. Then you will need either to open
up to "755" (allowing anyone to read) or to 750 (allowing the
group to read) and adding the web user to the required group.

Cheers, Phil.



-- 
Ray's Rule of Precision: Measure with a micrometer. Mark with
chalk. Cut with an axe.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index