- 论坛徽章:
- 0
|
20可用积分
我有多块磁盘,系统装在/dev/hdb 上,在这块磁盘上 samba 共享目录,能正常访问,读写。
但在 /dev/hdd 上,磁盘上的 samba 共享目录却是失败的,请问何故?谢谢!
附:samba_enable_home_dirs --> on 这个已经开了
别让我关闭selinux
还有 /var/log/audit/audit.log 大牛教下怎么读这个日志?
[root@server ~]# audit2allow -i test
#============= smbd_t ==============
allow smbd_t file_t:dir search; #### 谁解释下这行意思??
我给大家附上视频,大家看看是不是这么回事。很简单的。
[root@server ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
passdb backend = tdbsam
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
smb.conf 默认配置。
[ 本帖最后由 vdlee 于 2009-11-25 11:45 编辑 ] |
最佳答案
查看完整内容
我的是好的,请看录像!录像文件为.exe的,下载后请杀毒。
|