Fix permissions for CGI script