我的操作系统:Windows 8
Virtualbox 来宾:Ubuntu 12.10 服务器
我在 vbox 来宾上配置了 apache 服务器并将 http、https、ssh 端口成功映射到 ubuntu 服务器。它运行良好,没有任何问题。
我的网卡是NAT模式。经过一番研究,我在来宾系统上安装了 samba。我需要在 Windows 8 上映射 /var/www/ 文件夹,以便我可以从 Windows 直接在来宾服务器内工作。
这是我的 smb.conf
[share]
comment = "Vbox server share"
path = /
writable = yes
read only =no
browseable = yes
force directory mode = 777
force create mode = 777
force security mode = 777
force directory security mode = 777
hide dot files = no
create mask = 0777
directory mask = 0777
valid users …Run Code Online (Sandbox Code Playgroud) 我对 Ubuntu 很陌生。在我的家用电脑上工作期间,我不小心做了以下命令:
sudo chmod -R o+x /home
Run Code Online (Sandbox Code Playgroud)
我想知道为其他用户开放访问是否危险,如果是,我该如何恢复?