On Mon, Jul 28, 2014 at 7:29 AM, Mike Wenzel <mwenzel@xxxxxxxxxxxxx> wrote: > I got an cgi-script which is creating a file. This file need 775 permissions > (rwxrwxr-x). I need to get the apache to create this file with 775 > permissions. > > I researched, but 90% of all those solutions doesn't work for me or those > "init scripts" doesn't even exists on my openSUSE 13.1 64-Bit. > > I found out, that /usr/sbin/apache2 should be my "init script". I added > umask 002 there, but it doesn't changed anything. I still have rw-r--r-- > instead of rwxrwxr-x perimssions. > > Can u please help me out? At the start of the script, change the umask? If it is a cgi binary and you cannot modify it, wrap it in a cgi-script that you can modify. Cheers Tom --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx