umask and default file permission
i am working on a web project that runs on freebsd.
currently all the file that created dynamically by the internet user (they upoad file through web browser) has a default file permission of 0644.
however, i need these files to have a default extension of 0755 in order to have my perl code working.
i changed the umask from 022 to 000 for both user and root and nothing happens. every time i re-logged back in and my umask number stays the same.
i am very confuse and don't know what to do.
thanks for anybody that can give me a hand.