If you have problems with rights you might want to change your umask. This all depends on the webserver you use. If your site runs at your providet, you most probably can not change the umask. If you run Ubuntu/Debian you can add "umask...
More