Re: [Samba] Samba ACL and Office 2007

2009-04-28 Thread David Vaz
Harry Jede wrote:
> 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.
>   
Is there any workaround to this?

>   
>> 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.
>> 
>
>   

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba ACL and Office 2007

2009-04-27 Thread Harry Jede
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba ACL and Office 2007

2009-04-27 Thread 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.

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.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba