Page 1 of 1

PHP Upload permissions.

Posted: Wed Nov 12, 2008 11:00 am
by atm
Hello there,

I have an application we are integrating into our website. The administrative back end of the code is encrypted so I do not have access to change the code at all.

I am having problems where the uploading feature works fine to upload however the file permissions on the newly uploaded files is set to 600 and is not readable by the browser unless I manually chmod the file.

I tried setting a umask but php does not pay attention to it, (touching a file will respect the umask so I know I set it correctly)

My existing permissions are 777 on the upload directory.

I've looked for a php.ini setting that would allow me to set specific upload permissions, but can't find anything.

Again, I do not have access to the source code because it is encrypted.

Any ideas?


Thanks!!!

Re: PHP Upload permissions.

Posted: Wed Nov 12, 2008 11:06 am
by aceconcepts
So you don't have access to any of the code that actually uploads a file?

Re: PHP Upload permissions.

Posted: Wed Nov 12, 2008 11:09 am
by atm
Correct. It is all encrypted. :banghead:

Maybe I should have used a different forum... :roll:

Re: PHP Upload permissions.

Posted: Thu Nov 13, 2008 6:25 pm
by aceconcepts
No matter what forum you use, it'd be pretty difficult to try and help someone if they don't have access to any source code!!!