[Samba] MS Word and Samba File Permissions Problem
Alexander Goeres
agoeres at lieblinx.net
Tue Jan 27 13:23:30 GMT 2004
Hello everybody!
Obviously Samba as a PDC and Fileserver for w2k clients is not as easy as I
first thought.
Soon after setup and integration in a network a problem with the shares and MS
Word appeared.
Any time a file is opened with M$ Word directly from a share and edited it
can't be saved. The M$ user gets the msg that the file is write-protected and
on the samba side the file permissions are changed to r-xr-xr-x even if they
have been 770 before.
Here some of my configs:
#######################
+Samba 3.0.1 on Debian 3.0
+ Groupmapping:
- Domain Admins -> root
- Domain Users -> domuser
- Domain Guests -> nogroup
+ smb.conf:
[global]
...
admin users = +root
write list = +root +domuser
create mask = 0775
directory mask = 0775
...
[share]
force create mode = 0660
force directory mode = 0770
force group = domuser
Client-side: MS Office 2000 on w2k
#######################
All the files/directories on this share belong to the group "domuser".
I found a hint in the Samba HowTo collection:
http://de.samba.org/samba/docs/man/AccessControls.html#id2920312
According to that I set the sgid bit on all the directories (rwxrws---) and
did set the "force create/directory mode" but that doesn't help.
If anyone came across a similar problem or even a solution, please help me. A
samba fileserver. that scrambles write-rights in conjunction with M$ Word is
pretty useless ..
Thanx in advance
Alexander
--
-------------------------------------------
agoeres _at_ lieblinx.net
tel.: +49 (0)30 / 61 20 26 87
fax: +49 (0)30 / 61 20 26 89
-------------------------------------------
lieblinxNET
we do software
a Marwood & Thiele GbR
-------------------------------------------
reichenberger straße 125
10999 Berlin
http://lieblinx.net
-------------------------------------------
More information about the samba
mailing list