How to mount psf shared home folder as a non root user?

Sorin Sbarnea

Junior Member
I am using Parallels 11 and I really need to be able to use the shared home folder (or another shared folder) using non-root accounts in my Linux VM (Ubuntu 16.04).
This is clearly not a good security practice and also prevents me from discovering bugs that would be visible only when running as a normal user.
How can I address this problem?
Update: I tried to add a fstab line similar to the example from http://download.parallels.com/doc/pcs/html/Parallels_Cloud_Server_Users_Guide/35698.htm but when I tried to "mount -a" I got:
Code:
mount: wrong fs type, bad option, bad superblock on none,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
 
Last edited:
Hi,
Have you tried adding this line to `/etc/fstab` ?
Code:
Home /home/sorins prl_fs sync,nosuid,nodev,noatime,share 0 0
It should works with "mount -a"
 
I was able to solve the problem using this approach:
cat `/etc/mtab` and copy the line from there to `/etc/fstab` and adding `uid=xxx,gid=xxx`. Doing a `mount -a` and I am done.
 
Great! Yeah, that should work too.
I guess there is a line similar to the one I've posted above :)
 
Back
Top