- 论坛徽章:
- 0
|
第一部分,设置全局变量
dos charset = utf8
unix charset = utf8
hosts allow = 192.168.115.0/255.255.255.0
第二部分,专门开放一个共享目录。
[Shared Folders]
comment = windows mount dir
browseable = yes
# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
;writable = yes
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0022
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0022
path = /home/user/vmware
force user = user
force group = user
read only = No
guest ok = Yes
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/62744/showart_545419.html |
|