By Fekete Zoltán , 10 November, 2017 Apache umask setting You want to set your Apache web server to create files with controlled permissions. Do this with umask setting at the beginning of the rc script, which starts the service. In NetBSD: /etc/rc.d/apache Tags apache httpd umask permission