CHMOD/777 Error? CHMOD/777 Error?
 

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

CHMOD/777 Error?

Started by Cole, September 07, 2004, 04:59:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cole

When I install, I get this:
Before you continue with Coppermine installation, there are some problems that need to be fixed.


--------------------------------------------------------------------------------

The 'include' directory (located in the directory where you uploaded Coppermine) should be writable in order to save your configuration. Use your FTP program to change its mode to 777.


--------------------------------------------------------------------------------

The 'albums' directory (located in the directory where you uploaded Coppermine) should be writable in order to allow pictures upload. Use your FTP program to change its mode to 777.


--------------------------------------------------------------------------------

The 'userpics' directory (located in the 'albums' directory on your server) should be writable in order to allow pictures upload. Use your FTP program to change its mode to 777.


--------------------------------------------------------------------------------

The 'edit' directory (located in the 'albums' directory on your server) should be writable in order to allow pictures upload. Use your FTP program to change its mode to 777.

Once you are done, hit the "Try again" button.




I'm on Windows XP, and have been reading on CHMOD- I dont' quite understand HOW to CHMOD the mode to 777. Also, I'm not sure if my FTP Program does that (but am willing to download another!)>

kegobeer

You should read up on how FTP works.  Great place to start is Google.  Your FTP program help file is also a good place to start.

All FTP programs have the ability to change file permissions.  You need to use your FTP program to change the permissions of the include, albums, albums/edit, and albums/userpics directories to 777.

You also need to read the documentation that comes with Coppermine.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Cole

I got it switched to 777- and I am still getting the exact same error message?

I'm using www.patty-loveless.net/gallery/install.php


I'm confused why it still tells me to change them to 777, when I already did, and I double checked in my FTP tonight and it shows 777.

Any suggestions?

kegobeer

I can take a look at it for you, if you'd like.  Just PM me your control panel url and login/pass (if you have one), and your FTP url, login and password.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

If you're self-hosted (i.e. your WinXP box is your webserver) you can not CHMOD (there's no CHMOD on Windoze). There are permissions however. When using IIS, grant read/write/execute permissions to the user labelled I_USR_hostname to the folders in question).

Joachim

charliefromTas

Hi,
I was wondering what the progress of this was?

I am having the exact same problem.

I have successfully CHMODded the correct directories, and even all the files within them to 777, I also changed all the files in the coppermine root directory, still to no avail.

my server is capable of running coppermine, as I know of others that have it installed (unfortunately i cannot contact them at the moment)

I uploaded the files using leechFTP with automatic transfer type and changed permissions using that too.
I also set the ACL's to rwx for user-data successfully.

Any idea's? anyone?

Cheers, Charlie

Joachim Müller

are you on Lunix with apache, Windows with apache or Windows with IIS?

Joachim

charliefromTas

the servers OS is Unix with apache AFAIK

I am running winXP pro (not that that should be anything to do with this)

Joachim Müller

Your client OS doesn't matter, Unix with apache on the server is fine, shouldn't be causing any problems (in fact it's the configuration we recommend). Did you try CHMODing to 755 instead of 777?

Joachim

charliefromTas

I wrote my sys admin for some help on this too, and heres what he said/did (solved the problem too  :) )


Quote from: Dan the sysadmin man
Whatever you do, never chmod anything to 777 - there's no need with ACLs, and
it's less secure.


Whatever you did, it doesn't seem that the correct ACLs were set - run getfacl
to check for correct ACLs.


The following fixed it up:


cd /home/cprevost/public_html/
chmod -R 750 coppermine <-- remove the 777 permissions
setfacl -Rm u:www-data:r-x coppermine/
setfacl -Rdm u:www-data:r-x coppermine


setfacl -Rm u:www-data:rwx coppermine/include/ coppermine/albums/
setfacl -Rdm u:www-data:rwx coppermine/include/ coppermine/albums/


The last two lines should suffice, should you ever set up coppermine again...



I guess this is only applicable to servers with ACL's (such as mine) but thanks anyway. hopefully this helps any others with similar issues. 8)