Still problems with ownerships of albums directory Still problems with ownerships of albums directory
 

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

Still problems with ownerships of albums directory

Started by goldrakke, May 13, 2009, 02:08:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

goldrakke

Hi..

I think that I have a similar trouble as described in the post

http://forum.coppermine-gallery.net/index.php/topic,59305.0.html

Users create directory but they can't put images in them.

After some discussion with my hosting, I have realized that if I create directories in the normal way (mkdir) it gives them apache ownership and I cannot do anything else, they seem blocked and only admins can unlock them and change ownerships. The only way to give them normal access is to give the ownership of my account, and this may happen only if I create them by ftp-php libraries, using the ftp_mkdir function.

How can I hack the script to make this way of creating directory? Where should I change the code?

Thanks
Goldrakke

Nibbler

You can't easily do that. You should be able to use the 'default mode for directories' option in Coppermine to allow the created directories to be writeable though.