View Single Post

  #1 (permalink)  
Old 11-03-2004
PeterFI
 
Posts: n/a
Default file rights are wrong after move_uploaded_file

Hello,

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.
Reply With Quote