I am running a Ubuntu 16.04 as a guest for a Windows 7 host.
I shared a folder inside Windows and I should be able to see and open the file inside the Linux.
The issue was me, as root, could not open the file because the root is not in the vboxsf
group.
From this post, I just ran this command:
$ usermod -G vboxsf rootusername
After that I have lost the root privileges. I cannot use sudo su
command, not open root files etc.
So how can I add the rootUser to vboxsf
without losing all admin privileges?
rootusername
? Root's username isroot
. Did you change the group for your account which you used to runsudo
(presumably through thesudoers
group membership)?