Nevermind, I had to use the 'chown'-command to give the proper user rights.