View Single Post
  #2   (View Single Post)  
Old 22nd May 2013
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

I just installed www/joomla25 and get this:

Code:
[/ports/www/joomla25]# grep \$FreeBSD Makefile
# $FreeBSD: www/joomla25/Makefile 316691 2013-04-27 20:49:53Z nivit $

[/ports/www/joomla25]# lc /usr/local/www/
total 2
drwxr-xr-x  20 www  www  -  512B May 22 23:55:10 2013 joomla/
Quote:
Because of these restricted permissions the Joomla configuration, done through the Joomla web-based PHP code, fails.
IMHO this is what you want, the configuration phase is a special case, in normal operation, the webserver should be able to write as little as possible, or preferably nothing, to your document root (ie. /usr/local/www).

You should compare the PHP files in /usr/local/www/joomla/ to your /bin/ directory. /bin/ isn't writable by users or daemons, they can only read and execute files, why should this be different?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote