apache - file upload chown/chgrp permission issue in php/zend -


i have issue after file uploaded linux server, uploading file in zend framework(php),

issue when upload file takes apache owner/group permission, should same owner/group permission parent folder,

for ex. per folder permission like

-rwxrwxrwx 1 username *username* 1000 2013-06-10 20:03 tempfolder (owner/group permission username/username)

but when upload file name temp.txt tempfolder folder, takes default apache owner/group permission following,

-rwxrwxrwx 1 apache *apache* 1000 2013-06-10 20:03 temp.txt

so want temp.txt owner/group permission same tempfolder

please possible,

thanks in advance.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -