Image swapping chmod problems... Image swapping chmod problems...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Image swapping chmod problems...

Started by davenit, May 13, 2004, 03:20:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

davenit

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

hyperion

You can set the image permissions from within CPG's Config console.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

davenit

LOL... I should open my eyes. Does that also change existing images and directories?

davenit

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

hyperion

No, changing this value will only affect new images. 
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)