[SOLVED] file upload permission
Hi,
i'm running plesk 10.4 on a ubuntu 8.10 server, i've created vhosts with PHP (fast-cgi).
I' ve a script that upload files to the server and i'm facing permissions issue :
the uploaded files get a 600 permission, that means the psacln group cannot read the file, so i cannot view / download the file via http.
i've check the upload directory, permissions are OK .
I dont know where to search now, is it a suexec issue ? Can we set up UMASK somewhere ?
Any help would be appreciated.
here is the suexec section for that vhost:
<IfModule mod_suexec.c>
SuexecUserGroup "admaxr" "psacln"
</IfModule>
the upload dir :
drwxr-xr-x 5 admaxr psacln 4096 2012-03-07 20:39 files
Hi,
i'm running plesk 10.4 on a ubuntu 8.10 server, i've created vhosts with PHP (fast-cgi).
I' ve a script that upload files to the server and i'm facing permissions issue :
the uploaded files get a 600 permission, that means the psacln group cannot read the file, so i cannot view / download the file via http.
i've check the upload directory, permissions are OK .
I dont know where to search now, is it a suexec issue ? Can we set up UMASK somewhere ?
Any help would be appreciated.
here is the suexec section for that vhost:
<IfModule mod_suexec.c>
SuexecUserGroup "admaxr" "psacln"
</IfModule>
the upload dir :
drwxr-xr-x 5 admaxr psacln 4096 2012-03-07 20:39 files
Last edited: