forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: ansiuk on August 19, 2004, 09:55:13 am

Title: folder chmods impossible, what can I do?
Post by: ansiuk 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  ::)
Title: Re: folder chmods impossible, what can I do?
Post by: Joachim Müller 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
Title: New formulation
Post by: ansiuk 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
Title: Re: folder chmods impossible, what can I do?
Post by: Nibbler on August 20, 2004, 01:15:15 pm
Ask your host to CHOWN the userpics directory to set you as file owner.