coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: Amorget on March 01, 2008, 09:43:48 AM

Title: [Solved]: 403 Permissions Error
Post by: Amorget on March 01, 2008, 09:43:48 AM
I am having an issue that none of the images in my gallery are showing up.  Once I checked the http link I saw that I was getting a 403 Error.

Here is a link to an image:
http://www.pnw3.org/imagegallery/albums/userpics/10001/DSC00609_web.jpg

So I did some searching and found stuff on plugins and .htaccess  I took a look in the plugins folder, it was empty.  So I started a search for the .htaccess file.  I found one in my public_html folder (the root for my www site), however I didn't find one anywhere else.  When I looked at the htaccess file it said basically nothing outside of use the php.ini file.

Here is a link to my gallery:
http://www.pnw3.org/imagegallery

It is bridged to phpBB.

Any ideas?  It worked fine until the server crashed and they had to restore it (BlueHost in case that matters), then this problem appeared.

Thanks,
Douglas
Title: Re: 403 Permissions Error
Post by: TheKind on March 01, 2008, 09:52:54 AM
With your FTP client, change the chmod of your albums folder to 777 (and you should have an option like 'Apply this to all files and subfolders', enable it).
Title: Re: 403 Permissions Error
Post by: Amorget on March 01, 2008, 10:04:50 AM
Sigh, so simple, thank you.  Somehow I missed that the permissions had been reset on that folder to 706.  Is 777 actually needed or can you get away with 755?

Thanks,
Douglas
Title: Re: 403 Permissions Error
Post by: Joachim Müller on March 01, 2008, 10:18:40 AM
Depends on your server setup. Read the permissions section of the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#permissions) for details. Read on as well to Why chmod 777 is NOT a security risk (http://www.simplemachines.org/community/index.php?topic=2987.0)
Title: Re: [Solved]: 403 Permissions Error
Post by: Amorget on March 01, 2008, 10:38:01 AM
Thanks, I set the permissions to 777 just to make sure I won't have a problem in the future.
Title: Re: [Solved]: 403 Permissions Error
Post by: Amorget on March 01, 2008, 10:49:35 AM
Well, never mind, BlueHost doesn't allow for 777 on it.  It tells me there is a "Dangerously Writable File" and says it is "FIXED", then it displays it after a reload.