欢迎你客人 ( 登录 | 注册 )

  评价 ---

 | 分类: Linux
entry 2006-8-31, 07:40 AM
第一部分,设置全局变量
代码

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


  Fast Reply Reply to this topic

« 前一篇文章 · 听峰's Blog · 后一篇文章 »
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31



我的 Blog 链接