[Samba] severe problem with ms-word 97-2000 read only saving files

xavier x.poirier at free.fr
Tue Oct 31 00:18:20 GMT 2006


Hi ML,

I got this problem on my linux box SMB3 PDC with ACLs(xfs filesystem) 
Samba 3.0.20

look:

I encounter a problem with ONLY msword 97-2000 files ( yes, I hate this 
product, but for now I have not the choice of changing it in my case!):

creating a new word file test.doc is ok --> user have good permissions : rwx
modifing and saving this document result in changing permissions to my 
user that is now : r--
So doing another modification and saving on this same document again 
result in saving failure cause it is read only !

perhaps something with .tmp file created by msword temporary, but I've 
tried some things I've seen on ML without success.

Any idea is welcome, cause I really don't anderstand what happen here ...

my homedir share for my users is as follow :

[homes]
         comment = Home Directories
         path = /home/utilisateurs/%U
         valid users = %S
#       force user = %U (tried to leave it for testing purpose)
         read only = No
#       create mask = 0700
#       directory mask = 0700
  #       security mask = 0770
         inherit permissions = Yes
         inherit acls = Yes
         hide files = /.*/desktop.ini/Folder*/
         browseable = No
         oplocks = No
         level2 oplocks = No

ACL of my homedir user is :

# file: rthes2
# owner: rthes2
# group: root
user::rwx
user:rthes2:rwx
group::---
group:root:rwx
mask::rwx
other::---
default:user::rwx
default:user:rthes2:rwx
default:group::---
default:group:root:rwx
default:mask::rwx
default:other::---




More information about the samba mailing list