iT邦幫忙

0

unable to save permission change on samba

系統描述:
Linux Centos 5.5 64bit Kernel 2.6.18-194.el5
samba-3.0.33-3.40.el5_10
硬體描述:
OS 兩顆320GB,硬體的RAID做Raid 1(Raid Controller HightPoint RR644)
DATA 兩顆3TB,硬體的RAID做Raid 1(Raid Controller HightPoint RR644)
由於這張卡最高支援到Centos 5.5,所以我只能安裝這個版本.

已經將Samba 加入網域,也成功的分享了目錄.
smb.conf
[global]
workgroup = ABC
realm = ABC.COM
server string = Samba Server Version %v
security = ADS
password server = dc.abc.com
passdb backend = tdbsam
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
winbind enum users = Yes
winbind enum groups = Yes
inherit permissions = Yes
inherit acls = Yes
map acl inherit = Yes
map archive = No
map readonly = no
store dos attributes = Yes

[Share]
path = /Share/samba
admin users = ABC\sysadmin
read only = No

[Data]
path = /Data
admin users = ABC\sysadmin
read only = No

分享[Data]
透過Windwos server 去設定Samba分享目錄的權限也沒有問題.(使用者存取也正常)

分享[Share]
透過Windwos server 去設定Samba分享目錄的無法寫入權限
Unable to save permission change on samba server version 3.0.33-3.40

fstab
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw) [/boot]
tmpfs on /dev/shm type tmpfs (rw)
/dev/mapper/Vol_Data-LV_Data on /Share/samba type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
enen1980
iT邦研究生 1 級 ‧ 2014-08-20 09:28:40
最佳解答

有將以下FOLDER 權限SET 到777嗎?

path = /Share/samba

tung1202 iT邦新手 5 級 ‧ 2014-08-20 09:50:08 檢舉

path = /Share/samba 已經是777了.

因為我放在系統[Data]那個HD上的就可以透過Windows Computer Management去設定權限

而[Share]這個分享就不行設定權限

tung1202 iT邦新手 5 級 ‧ 2014-08-20 09:53:56 檢舉

我想我找到答案了,不過我覺得適用在我這個Case中.

紅線圈起來的部分是我修改的 fstab

我要發表回答

立即登入回答