[Samba] Samba ACL and Office 2007

Harry Jede walk2sun at arcor.de
Mon Apr 27 19:47:05 GMT 2009


Am Montag, 27. April 2009 15:33 schrieb David Vaz:
> I am using samba 3.3.2-1 in a debian squeze installation, using ext3
> with acl support.
>
> The problem I am experiencing is easy to replicate as I have tried it
> in different machines.
>
> In a given share, user "A" is the owner of the folder "test", inside
> this folder there is a office file "test.doc" for example. User "B"
> has write privileges over file "test.doc" but not over "test". When
> user "B" tries to save the office document (using office 2007) an
> error appears "Access Denied. Contact your administrator".
>
> # file: test
> # owner: A
> # group: G
> user::rwx
> group::r-x
> other::---
>
> # file: test.doc
> # owner: A
> # group: G
> user::rwx
> user:B:rwx
> group::r-x
> mask::rwx
> other::---
>
> Notice that if the user copy the file to his desktop, modifies it and
> later overwrites the original there is no problem.
That's normal with Office 2007. Thanks to M$.

They create a NEW file, when the user saves the old one, delete the old 
one, then rename the new file to the old name.

So, your users are able to update files with office 2007, only when they 
have write permissons on the directory.

Search this list archive for a more detailed explanation.

>
> This error is similar in some ways to this
> https://bugzilla.samba.org/show_bug.cgi?id=6160, but i suppose now
> the lock over the folder.

-- 

Gruss
	Harry Jede


More information about the samba mailing list