install script not reading permissions correctly install script not reading permissions correctly
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

install script not reading permissions correctly

Started by xadamz23, October 04, 2005, 05:30:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xadamz23

Hello,

I've installed Coppermine successfully before.  But my hard drive crashed and I had to reinstall my OS (Fedora Core 3).

I uploaded cpg1.3.5 to my server.  I chmodded albums, include, edit, and userpics to 777.

When I run install.php, it says that albums, include, edit, and userpics need to be chmodded to 777 because they arent writeable.

Im not sure why this is happening. 

Some facts that might help:
The coppermine directory is chmodded to 775.  (i even tried chmodding it to 777 and got the same problem above)
I have seLinux, but that didnt cause a problem before.


Does it matter who the owner of the coppermine directory is?  Does it matter who the owner of the albums, include, userpics, and edit directory are?


Nibbler

Coppermine  uses the is_writable() function in php to determine folder permissions. If php tells coppermine the folder is not writable then you get the message. People have reported issues with SELinux, it can block programs writing into users' home directories.