[SOLVED] Can't set CHMOD of Folders in userpics [SOLVED] Can't set CHMOD of Folders in userpics
 

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

[SOLVED] Can't set CHMOD of Folders in userpics

Started by Coalminer, November 27, 2003, 09:07:58 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Coalminer

phpNuke v6.5
coppermine v1.2.0 Nuke


I set the chmod for albums and include (both with subfolders) to 777.
That was no problem.

But as I triesd to set the chmod of the script-generated folders
for example...
/html/modules/coppermine/albums/userpics/10002/
...
I got this answer from my FTP-Tool (flashFXP)...
550 SITE CHMOD command failed
...

If I delete the folder and creat it new via FTP-Tool, I can set the chmod to what I want without any problems.

So, what is the Problem.
Why can't I change the chmod of script-generated folders ?
What should I do ?

Thanks for help
           Coalminer

DJMaze

the folder is created by "Apache" not "user" so your not the owner of the directory/pics. Thisway only "apache" may change folder info.

Solution 1:
go to your coppermine config and change 0755 to 0777.

Solution 2:
create the directories using a FTP connection.
For full info about this please tell your CPG 1.2 RC version.
Because it needs a big change in your db_input.php file
http://forum.coppermine-gallery.net/index.php?topic=1494&highlight=ftp_connect+ftp_close+connection
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Coalminer

Hi
Thank you for your help !!!

It's RC2

I've changed the setting in the config of coppermine.
Now the folders are set to 777 when i create a new useralbum.

But theres s still an Error Message if i try tu upload.

After choosing a file and setting Name and Desscription I hit the butten to upload.
Then I get this message:
---
BIG.jpg kann nicht nach modules/coppermine/albums/userpics/10002/ verschoben werden!
---
I'm sorry it's german - I can try to get it in english.
but it means...
--
BIG.jpg can't be moved to modules/coppermine/albums/userpics/10002/
---

Coalminer

Impossible to move BIG.jpg to modules/coppermine/albums/userpics/10002/ !


that's it

DJMaze

There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Coalminer

http://www.abifest-2004.de/phpinfo.php

this is my php-configuartion

there you can find something like this

Directive ------------ Local Value --------------- Master Value
safe_mode ------------     ON      ---------------     OFF


is this the problem ?

DJMaze

could be, now search forum for solution: turn on silly safe mode
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Coalminer

OK it is.
The debug-mode speaks a exact language.
Thank You for your help.

I will try to contact my WebSpaceAdmin.

I hope he is willing to help me