我为什么访问不到samba共享目录里面的数据?

我为什么访问不到samba共享目录里面的数据?

机器配置 p4 3.0 1.5g 845g
硬盘配置 文件格式全部是ext3,共有5块硬盘
大小40、120、120、80、80、320

hda1 40g
/ 10g
/boot 128
swap 3
/var 30
hde 120g
/data
hdf 120g
/project
hdg 80g
/personal
hdh 80g
/data/share
sda 320g
/data/public


samba
# Samba config file created using SWAT
# from
# Date: 2008/05/14 15:07:38

[global]
        dos charset = UTF-8
        display charset = UTF-8
;       netbios name = SW FILES SERVER
        server string = SW Files Server
        interfaces = lo, eth0, 192.168.0.1/24, 192.168.1.255/24
        passwd chat timeout = 3
        max log size = 128
;       ldap ssl = no
        hosts allow = 127., 192.168.0., 192.168.1.
        workgroup = Workgroup
        dns proxy = no
        syslog = 0
        security = share
        encrypt passwords = true
;       obey pam restrictions = yes
;       guest account = nobody


[Data]
        comment = SW Data Files Dir
        path = /data
        browseable = yes
        public = yes
        read only = yes
        guest ok = Yes
;       valid users = @tmp,@code,@design

[Project]
        comment = SW Project Files Dir
        path = /project
        public = yes
        browseable = yes
        guest ok = yes
        valid users = @code,@design,@smb
        write list = @code,@design,@smb

[Personal]
        comment = Terry's Private Files Dir
        path = /data/personal
        public = no
        browseable = yes
        guest ok = no
        valid users = geniux
        write list = geniux

[Public]
        comment = SW Public Files Dir
        path = /data/public
        public = yes
        read only = yes
        browseable = yes
        guest ok = Yes
;       valid users = @tmp,@code,@design

[Share]
        comment = SW Tmp Share Files Dir
        path = /data/share
        guest ok = yes
        writable = yes
        public = yes
;       read only = yes
        browseable = yes
        valid users = @tmp,@code,@design
        write list = @tmp,@code,@design      
[2008/05/14 18:42:31, 0] smbd/service.c:make_connection_snum(1003)
  '/data/personal' does not exist or permission denied when connecting to [Personal] Error was Permission denied      
1. 增加系统用户(自己会加吧)以及samba用户:
复制内容到剪贴板
代码:
#smbpasswd -a sw
2. 修改一下共享目录的所有权和读写运行权限:
复制内容到剪贴板
代码:
#chown -R sw:sw /data/public
#chmod -R 755 /data/public