Advanced search  

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]

Pages: [1]   Go Down

Author Topic: CHMOD/777 Error?  (Read 4088 times)

0 Members and 1 Guest are viewing this topic.

Cole

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
CHMOD/777 Error?
« on: September 07, 2004, 04:59:31 pm »

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!)>
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: CHMOD/777 Error?
« Reply #1 on: September 07, 2004, 05:06:54 pm »

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.
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: CHMOD/777 Error?
« Reply #2 on: September 08, 2004, 06:16:19 am »

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?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: CHMOD/777 Error?
« Reply #3 on: September 08, 2004, 06:27:41 am »

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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CHMOD/777 Error?
« Reply #4 on: September 08, 2004, 07:18:07 am »

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
Logged

charliefromTas

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CHMOD/777 Error?
« Reply #5 on: November 13, 2004, 05:57:36 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CHMOD/777 Error?
« Reply #6 on: November 14, 2004, 12:58:00 pm »

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

Joachim
Logged

charliefromTas

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CHMOD/777 Error?
« Reply #7 on: November 14, 2004, 03:59:14 pm »

the servers OS is Unix with apache AFAIK

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CHMOD/777 Error?
« Reply #8 on: November 15, 2004, 07:20:09 am »

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
Logged

charliefromTas

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CHMOD/777 Error?
« Reply #9 on: November 15, 2004, 02:51:35 pm »

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)
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.