I have an Apache server that I am allowing users to run cgi scripts on within their virtual hosts (and yes, I know that this is a big security No-No). Users create the script, set the permissions to 755 and then upload via WebDAV. The problem I have is that when the script is uploaded, the permissions are set back to 644. Is there a way to keep the permissions set to 755? I have experimented with changing the umask, but this does not seem to work.