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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.