coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: xadamz23 on October 04, 2005, 05:30:52 AM

Title: install script not reading permissions correctly
Post by: xadamz23 on October 04, 2005, 05:30:52 AM
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?

Title: Re: install script not reading permissions correctly
Post by: Nibbler on October 04, 2005, 03:16:33 PM
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.