virtualbox linux guest permission denied on shared folder

Problem:
/media/sf_sharedFolder/: Permission denied

Solution 1

Edit the file /etc/group. Look for the line vboxsf:x:999 and add at the end :yourusername

Solution 2

Run sudo adduser yourusername vboxsf

Reboot