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: folder chmods impossible, what can I do?  (Read 3308 times)

0 Members and 1 Guest are viewing this topic.

ansiuk

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
folder chmods impossible, what can I do?
« on: August 19, 2004, 09:55:13 am »

Hi!

I used Coppermine build 1.2.1 for a while and today upgraded to the latest version. I have a problem now which probably was also before but it occured to me just now:

1) 1.2.1 build used to make folders for userpics with username "nobody" seen in the unix directory listing
2) now I cannot chmod or move the directories since they are all as below:
-rw-r--r--    1 nobody   nobody          1 Aug 13 04:39 index.html
3) I'm using a webhotel so I am the master user, but I dont have root previlidges and the webhotel support instructed me to contact this forum
4) So, can anyone help me please  ::)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: folder chmods impossible, what can I do?
« Reply #1 on: August 20, 2004, 08:04:22 am »

what is actually your question? You won't have to touch the userpics folder during the upgrade process at all - everything should be fine. Please post in more details what the actual problem seems to be.

GauGau
Logged

ansiuk

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
New formulation
« Reply #2 on: August 20, 2004, 01:09:29 pm »

I'm sorry for not addressing the real question properly. But here it comes:

1) The new version of coppermine uses my username when it creates folders. The old one used username "nobody" and when it created the userpic folders that the current users use they all are owned by "nobody" and have only read previlidges to other users (such as myself).
2) This results that when the new version tries to save something in the old userpic directories, it fails because it now uses my username and not the "nobody". So now i have a few directories that i cannot change and the users cant write their files into becauser of this username/chmod conflict that the versions have.
3) Is the only way to correct this to DOWNGRADe to old version, delete the directories --> upgrade to new one and restore the photos and users manually?

-ansiuk
Logged

Nibbler

  • Guest
Re: folder chmods impossible, what can I do?
« Reply #3 on: August 20, 2004, 01:15:15 pm »

Ask your host to CHOWN the userpics directory to set you as file owner.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.