You can experience problems with setting up the Shared Folders Tool in a Linux virtual machine if you have installed one of the following operating systems in it:
In the aforementioned operating systems, Security-enhanced Linux (SELinux) is enabled by default. It blocks shared folders and does not allow them to mount automatically. If you are logged in as a
root
user, you can mount them manually or boot with the
selinux=0
command. To use the Shared folders Tool under other accounts, disable SELinux or change its permissive mode when having
root
privileges.
Note: If you boot with selinux=0, all files you create while SELinux is disabled will have no SELinux context information.
Setting up User Privileges for Shared Folders
To change the access rights for shared folders, go to the
/etc/fstab
file and change the settings for shared folders:
none /media/psf prl_fs default,share 0 0
With the "
share 0 0"
option set, each user of the virtual machine receives the same rights as the user who mounted the shared folders had. To set up a user or a group of users with certain rights, use the
uid
and
gid
options.