[Solved] file mode confusion with debian 9
Posted: 22. Oct 2017, 17:44
It seems the auto mounted shared directory is set to user root and group vboxsf, I tried to change the user to be myself but failed. The confusions are
(1) root is not in vboxsf, but it is shown so for the shared directory
(2) I add myself into vboxsf, but chmod does not have effect on changing the priviledge
(3) I should have installed guest addition correctly, but don't know how to check it.
any place I did wrong? thanks for help!
(1) root is not in vboxsf, but it is shown so for the shared directory
(2) I add myself into vboxsf, but chmod does not have effect on changing the priviledge
(3) I should have installed guest addition correctly, but don't know how to check it.
Code: Select all
ls -lat /media
drwxrwx--- 1 root vboxsf 0 Sep 18 23:35 sf_debian_xfce
john@debian:/media$ grep vboxsf /etc/group
vboxsf:x:999:john
root@debian:/media# chmod 754 sf_debian_xfce
root@debian:/media# ls -la
drwxrwx--- 1 root vboxsf 0 Sep 18 23:35 sf_debian_xfce