Re: [spctools-discuss] tpp ubuntu forbidden dir

27 views
Skip to first unread message

Joseph Slagel

unread,
Jan 16, 2013, 3:52:49 PM1/16/13
to spctools...@googlegroups.com
What are the permissions set to in your topdir?

ls -al /opt/tpp/data

On Wed, Jan 16, 2013 at 12:42 PM, Brett Phinney <bsph...@my.abrf.org> wrote:
Hi everyone, we have the tpp up and running (I thought anyway) on ubuntu and are having an issue accessing subdir's in our /opt/tpp/data dir, We can create subfolders using the create dir button within the tpp, but then we we try to access them we get a "attempted to access forbidden dir" message.  We can access the dir's using http://host/tpp/data/  so I think the permissions are set correctly. Or maybe not...Any ideas? 

Cheers

Brett


--
You received this message because you are subscribed to the Google Groups "spctools-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spctools-discuss/-/8X_ofbv24CUJ.
To post to this group, send email to spctools...@googlegroups.com.
To unsubscribe from this group, send email to spctools-discu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spctools-discuss?hl=en.

Brett Phinney

unread,
Jan 16, 2013, 6:44:43 PM1/16/13
to spctools...@googlegroups.com
We fixed the problem, it had something to do with tpp/data being a symlink.... I can find out the exact details if you are interested

Cheers

Brett

Joseph Slagel

unread,
Jan 16, 2013, 6:50:00 PM1/16/13
to spctools...@googlegroups.com
I'm guessing FollowSymLinks wasn't set in Apache :)

To view this discussion on the web visit https://groups.google.com/d/msg/spctools-discuss/-/kKacKlZoXlIJ.

Brian Hampton

unread,
Jan 16, 2013, 6:53:52 PM1/16/13
to spctools...@googlegroups.com
HI Brett,

The privileges listed in the SPC wiki for Ubuntu 10.04.3 (http://tools.proteomecenter.org/wiki/index.php?title=TPP_4.5.2:_Installing_on_Ubuntu_10.04.3) tpp/data directory has them set at 771 and the owner and group set to the user that Apache runs as in my case its www-data for both.  I don't think its necessary to set the data directory to execute so 660 (e.g. chmod -R 660 /your_path_to/data) should also work.  If that isn't the problem check your tpp/cgi-bin/tpp_gui_config.pl file and see if it is correctly set for the path of the data directory.

Note that in the above wiki entry we are installing in /usr/local/tpp.  Yours seems to be in /opt.  Either should be fine as long as you correctly specify the paths where you have TPP installed.

Thats all I can think of now.

Brian
Reply all
Reply to author
Forward
0 new messages