file rights are wrong after move_uploaded_file

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

my problem is as follows,

I have a web page where user can upload pictures to unix server from
his own computer. Pictures are uploaded fine, but the rights of those
files are not correct for further processing. Php code page that
downloads pictures modifies this picturecatalog -page, that shows
those pictures. Hmm, I want it to show. Everything else is ok and
working but picture rights do not allow pictures to be viewed. I
manually gave proper rights and catalogpage was ok. Rights after
transfer are owner read, write.

Can i change file rights using php, is move_uploaded_file settings
wrong/missing? Manual rights modification is out of question, because
automation is whats this is all about.

Re: file rights are wrong after move_uploaded_file

PeterFI wrote:
Quoted text here. Click to load it


Shawn Wilson

Site Timeline