coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: ClipdIn on February 23, 2007, 08:17:27 PM

Title: Upload Problem - CHMOD set but Apache has taken over UID/GID
Post by: ClipdIn on February 23, 2007, 08:17:27 PM
I get the "Impossible to Move" error.

CHMOD is 777 but for some reason the userpics subfolders are all "User:  apache" and "Group:  apache"

This appears to have happend during a Plesk Update!!!

If anyone could walk me through or lead me to how to fix this...I think it is something I have to do in SSH.  (Which I am schetchy at, at best)
Also local is set to safe mode on, but global is set to off...is that SSH as well?

I would prefer to fix on the server side and not use a bypass.

I have another CPG on the same server that was added after the Plesk Update and it works fine, userpics subfolders have User and Group set appropriately.

Thanks,
Dan

 
Title: Re: Upload Problem - CHMOD set but Apache has taken over UID/GID
Post by: Nibbler on February 23, 2007, 09:56:25 PM
Change ownership of the directory to whatever setup works.

chown user:group albums -Rv
Title: Re: Upload Problem - CHMOD set but Apache has taken over UID/GID
Post by: ClipdIn on February 24, 2007, 03:57:57 AM
Quote from: Nibbler on February 23, 2007, 09:56:25 PM
Change ownership of the directory to whatever setup works.

chown user:group albums -Rv

Yes...Thank You...but...How does one "chown"?

Open the directory in question in SSH using putty and type the command?
I do NOT want to screw anything up!!!

Thanks Again,
Dan
Title: Re: Upload Problem - CHMOD set but Apache has taken over UID/GID
Post by: Joachim Müller on February 24, 2007, 08:39:14 AM
Ask your webhost.
Title: Re: Upload Problem - CHMOD set but Apache has taken over UID/GID
Post by: ClipdIn on February 24, 2007, 10:05:42 AM
Why didn't I think of that!?
Title: Re: Upload Problem - CHMOD set but Apache has taken over UID/GID
Post by: ClipdIn on February 28, 2007, 04:46:40 AM
ok...chown done.
Safe Mode set to OFF

Now I get this:
Title: Re: Upload Problem - CHMOD set but Apache has taken over UID/GID
Post by: ClipdIn on February 28, 2007, 04:53:12 AM
You can read this one:
Title: Re: Upload Problem - CHMOD set but Apache has taken over UID/GID
Post by: ClipdIn on February 28, 2007, 05:55:09 AM
Script called without the required parameter(s).

File: /home/httpd/vhosts/clipdin.com/httpdocs/cpg142/db_input.php - Line: 58

Line 57-59:


57 if (!isset($_GET['event']) && !isset($_POST['event'])) {
58     cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
59 }