我的samba服务器搭好了,在我的本机可以打开samba的地址,但是,我不能对打开的samba进行操作。只能看,不能写,也不能删除。
那为大侠知道为什么?
下面是我的一些主要配置:
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
[samba]
; comment=This is my samba server
; path=/home/samba
; writable = yes
; browseable =yes
; read only = no
; create mode=0777
; directory mode=0777


hubaichun 于 2009-06-17 13:18:36发表:
1# blueskysee
运行这个 应该能解决问题! SAMBA的安全问题
chcon -R -t samba_share_t ‘/目录名’