Unfortunately CMSimple just uploads files (mostly images). moves them from the temporary to the images - folder and does not set any permissions
see here: in adm.php
Code: Select all
if(!$e){if(@move_uploaded_file(im($f,'tmp_name'),$pth['folder'][$f].$name))$o.='<p>'.ucfirst($tx['filetype']['file']).' '.$name.' '.$tx['result']['uploaded'].'</p>';
So there are server configurations, where this behaviour creates a lot of problems.
I have 40 domains at a server which unfortunately uses CONFIXX (I want CPANEL!!!)
PHP is installed as CGI, but CONFIXX needs mod_php
so both are installed at the server and the result?
uploaded files have the right 600
nobody can see them
if CMSimple would set permissions after uploading and moving to the destination folder, everything would be fine and smooth.
But CMSimple does not.
I tested at the same server WordPress, Pivot, CMSMadeSimple, Drupal ... they all set permissions after uploading and no problems
Now I have to set permissions after each upload or to run a cron-job permanently to set these permissions because my clients will not understand this...
so, Peter, please add this to your adm.php and make me happy!
Connie