pi0 you noob
run this command in ssh
Code: 
chown -R username:username /path/to/your/destination
And remove -R if you don't want to recurse into sub-dirs

EDIT: replace username with your actual username (i.e. pi0tr3k)