Enviado em 29/11/2019 - 08:59h
Olá senhores.
[root@servidor ~]# mount -t vboxsf dados /mnt/servidor/
[root@servidor ~]# ls -lh /mnt/
total 8,0K
drwxrwxr-x. 1 root root 4,0K nov 28 11:56 servidor
drwxrwxrwx+ 6 suporte suporte 169 nov 27 14:45 temporario
[root@servidor ~]# ls -lh /mnt/servidor/
total 356K
drwxrwxrwx. 1 root root 4,0K nov 27 14:33 ArqRemessa
drwxrwxr-x. 1 root root 4,0K nov 27 14:34 ArqRetorno
drwxrwxr-x. 1 root root 4,0K nov 22 08:47 Arquivo
drwxrwxr-x. 1 root root 4,0K nov 27 05:52 Backups
drwxrwxr-x. 1 root root 4,0K nov 25 10:07 Cofre_infectado
drwxrwxr-x. 1 root root 4,0K nov 22 08:56 dosemu
drwxrwxr-x. 1 root root 4,0K nov 27 10:56 hd2
-rwxrwxr-x. 1 root root 236K nov 1 2018 Intranet.pptx
drwxrwxr-x. 1 root root 4,0K nov 27 10:58 Itau
drwxrwxrwx. 1 root root 4,0K nov 27 10:33 ledwin
drwxrwxr-x. 1 root root 4,0K nov 28 11:49 ParBem
drwxrwxrwx. 1 root root 4,0K nov 29 06:47 pedidos
drwxrwxr-x. 1 root root 4,0K nov 22 08:04 restaure
drwxrwxrwx. 1 root root 4,0K nov 29 05:44 Temporario
-rw-r--r--. 1 root root 0 nov 28 11:56 teste.txt
drwxrwx---. 1 root root 4,0K nov 28 12:24 Virtualbox
[root@servidor ~]#
[root@servidor ~]# mount -t vboxsf -o uid=1000, gid=1001 dados /mnt/servidor/
mount: uso inválido
Tente "mount --help" para mais informações.
[root@servidor ~]#
[root@servidor ~]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Tue Nov 26 07:21:40 2019
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/cl-root / xfs defaults 0 0
UUID=14d9b3f2-3b2b-4878-b74d-6a28291b387e /boot ext4 defaults 1 2
/dev/mapper/cl-swap swap swap defaults 0 0
#dados /mnt/servidor vboxsf rw,auto 0 0
[root@servidor ~]#