[Samba] cannot write xls file after saving
Nerijus Baliunas
nerijus at users.sourceforge.net
Fri Apr 29 01:48:09 GMT 2005
Hello,
I am using 3.0.15pre2. Share definitions:
[Grupes]
path = /home/Grupes
writeable = yes
admin users = DOMAIN+administrator
valid users = @"DOMAIN+domain users"
store dos attributes = yes
map hidden = no
map system = no
map archive = no
dos filemode = yes
File ACLs before opening:
# file: Pazymejimai-forma2.xls
# owner: root
# group: DOMAIN+domain\040users
user::rwx
group::---
group:DOMAIN+personalas:rwx
mask::rwx
other::---
I am user test2, which belongs to group DOMAIN+personalas.
When I open file and save it, I get the following message in Excel:
The document was saved successfully, but Excel cannot re-open it because
of a sharing violation. Please close the document and try to open it again.
ACLs now:
# file: Pazymejimai-forma2.xls
# owner: DOMAIN+test2
# group: DOMAIN+domain\040users
user::r--
user:root:rwx
group::---
group:DOMAIN+personalas:rwx
mask::rwx
other::---
I tried to add to share definition
create mask = 660
force create mode = 660
but it didn't help.
ACLs of a parent dir:
# file: Administravimas
# owner: root
# group: DOMAIN+domain\040users
user::rwx
user:DOMAIN+sigitak:rwx
group::---
group:DOMAIN+personalas:rwx
mask::rwx
other::---
default:user::rwx
default:user:DOMAIN+sigitak:rwx
default:group::---
default:group:DOMAIN+personalas:rwx
default:mask::rwx
default:other::---
Any ideas? Because now after each save of a first time opened file
I have to change user permissions to rw.
Regards,
Nerijus
More information about the samba
mailing list