i have a mysterious problem with Samba 2.2.2 and Excel resp. with windows in
a samba domain.
1. I have users x,y,z and two groups a,b. In group "a" are all users members
and in group b has only user z a membership.
2. I have a Samba share with valid user =x,z,y and all directories and files
under this share have rwxrwx--- rights with ownerships x:b or y:b.
Now the problem:
When i open a file with excel 2000 and save it, so excel change the
ownerships to the user and the group, in which the user is, who has saved
it. (z:a (because a is primary group for the user z))
If i open the same file with the editor of windows and i save it back to the
server, the ownership will not be changed. (x:b or y:b )
I want that excel could not change the ownership and the rights.
Does anybody know who to solve this problem ?? is it perhaps only a problem
with a setting of windows or samba ??
I have feeling that it is a problem of the temporary files, which are
created by MS Office 2000 , because only excel 2000 and word 2000 create
this problem.
>Now the problem:
Once more, you must call it a feature :)
>When i open a file with excel 2000 and save it, so excel change the
>ownerships to the user and the group, in which the user is, who has saved
>it. (z:a (because a is primary group for the user z))
>If i open the same file with the editor of windows and i save it back to the
>server, the ownership will not be changed. (x:b or y:b )
>I want that excel could not change the ownership and the rights.
>
>Does anybody know who to solve this problem ?? is it perhaps only a problem
>with a setting of windows or samba ??
>
Office applications don't work on the primary file. They create a copy
with permissions of the currently active user, afterwards rename the
old file (if told to keep backups) to *.bak and save the copy with the
original name (but not original permissions).
In your case, you can circumvent the issue with
"force group = b" for this share.
Greetings from Vienna :)
>
>
>
>I have feeling that it is a problem of the temporary files, which are
>created by MS Office 2000 , because only excel 2000 and word 2000 create
>this problem.
>
--
s/hotmail.com/reflex.at/ and add "alter." after the "w" if you really feel the urge to e-mail me.
The first address is my trashcan. Thanks!