[Samba] Problem with MsOffice write processus and Acls

Jean-Philippe FARCY jfarcy at sigma.fr
Fri Oct 21 15:48:48 GMT 2005


Hi,

Perhaps some of you have some advice for dealing with 
this problem? I've done quite a bit of googling on 
this one, but I can't find anything useful.

This is the situation:

Basics: 
 Debian sarge 
 Kernel   2.6.11
 Samba 3.0.20 
 Filesystem: reiserfs
 Mount options: acl,noatime 

Config:
auth methods = winbind
security = ADS
passdb backend = tdbsam guest

Everything works so far. Now the problem: 
We have a file "test.doc" which is a word 2000 file. 
in a test_dir directory
The file is owned by "jp", group "word" 

# file: test.doc
# owner: MYDOMAIN+jp
# group: MYDOMAIN+word
user::rwx
user:MYDOMAIN+jp:rwx
group::r-x
mask::rwx
other::r-x

# file: test_dir
# owner: MYDOMAIN+Administrateur
# group: MYDOMAIN+word
user::rwx
group:MYDOMAIN+word:r-x
group::r-x
mask::rwx
other::r-x

I can read the file, but i can't modify it.
.This is because MSword opens a temporary file (starting with ~) and 
 then does a copy of this temporary file to the originally opened 
file.
The probleme is : I can't create the temporary file due to the directory 
permissions.

How do I fix this?
Thanks in advance, JP



More information about the samba mailing list