coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: davenit on May 13, 2004, 03:20:15 PM

Title: Image swapping chmod problems...
Post by: davenit on May 13, 2004, 03:20:15 PM
I use lunarpages. I recently tried to replace an image in the 'userpics' folder only to find out I didn't have permissions. The info I got was that the PHP script is giving permissions to the person that uploaded and won't allow me (owner and administrator of the account) to change anything (using an ftp client) in the 'userpics' folder including files, names, permission settings etc.

I there a way in the php script to change permissions to 777 instead of 755 and will that solve my problem? If yes, what file and what script. I am not the most knowledgeable in this but can muddle my way through.

Coppermine 1.2
(Local) Win XP Pro
(FTP) WS FTP

Server Info...
Operating system Linux
Service Status Click to View
Kernel version 2.4.20-28.8smp
Apache version 1.3.29 (Unix)
PERL version 5.8.1
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.3.4
MySQL version 4.0.15-standard

Thanks

Dave
Title: Re: Image swapping chmod problems...
Post by: hyperion on May 13, 2004, 05:48:29 PM
You can set the image permissions from within CPG's Config console.
Title: Re: Image swapping chmod problems...
Post by: davenit on May 13, 2004, 08:53:25 PM
LOL... I should open my eyes. Does that also change existing images and directories?
Title: Re: Image swapping chmod problems...
Post by: davenit on May 13, 2004, 09:05:15 PM
And even better, with permissions set to 777 and new images uploaded I still can't change them using an ftp client... rrrr... I am in touch with Lunar pages trying understand why I can't control any file on my server... I am sure it is probably operator error, lol...
Title: Re: Image swapping chmod problems...
Post by: hyperion on May 14, 2004, 01:52:56 AM
No, changing this value will only affect new images.