I need to set the default umask in apache on fedora so that my uploaded files have permissions 644 which are set to 600 by default in spite of doing chmod( $uploaded_file , 0644 ); in php script.
Can someone provide some direction...?
On Fedora, I believe it's in /etc/sysconfig/httpd and you change the umask there -- umask xxx.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
5 years ago