小编her*_*ron的帖子

Samba:如何访问 Virtualbox 来宾上的共享(在 NAT 模式下)

我的操作系统: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)

server ssh virtualbox samba 12.10

13
推荐指数
2
解决办法
4万
查看次数

“chmod -R o+x /home”危险吗?

我对 Ubuntu 很陌生。在我的家用电脑上工作期间,我不小心做了以下命令:

sudo chmod -R o+x /home
Run Code Online (Sandbox Code Playgroud)

我想知道为其他用户开放访问是否危险,如果是,我该如何恢复?

permissions files chmod

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

12.10 ×1

chmod ×1

files ×1

permissions ×1

samba ×1

server ×1

ssh ×1

virtualbox ×1