[Samba] Samba / Office 2007/2010

Tobias Dinse mailingliste1 at stegbauer.info
Wed May 28 06:58:32 MDT 2014


Hello Jones, 

first thanks for your answer. I tried your Steps and it seems to work for a old Files now. But if I create a new File the ACL for the default Permission did not work correctly. I already set the Parameter 

inherit acls = yes 

in my Configuration File. 

Direcotry: 

getfacl ../Projektabwicklung/ 
# file: ../Projektabwicklung/ 
# owner: root 
# group: cad 
user::rwx 
user:root:--- 
group::rwx 
group:cad:rwx 
mask::rwx 
other::r-x 
default:user::rwx 
default:group::rwx 
default:group:cad:rwx 
default:mask::rwx 
default:other::r-x 

New File: 
getfacl ziuziuziuz.xls 
# file: ziuziuziuz.xls 
# owner: xxxusername 
# group: xxx-domuser 
user::rwx 
group::r-- 
group:cad:r-- 
mask::rwx 
other::r-- 

----- Ursprüngliche Mail -----

Von: "Jones" <jones.kstw at gmail.com> 
An: "Tobias Dinse" <mailingliste1 at stegbauer.info> 
CC: "samba-technical at lists.samba.org" <samba at lists.samba.org> 
Gesendet: Samstag, 24. Mai 2014 05:12:06 
Betreff: Re: [Samba] Samba / Office 2007/2010 

Hello Tobias, 

Could you follow these steps and try again, 
1) Remove ' /*.xlsx/*.xls/*.XLS' from ' veto oplock files'. 
2) Add 'oplocks = yes' under section [cad]. 
3) Restart samba service. 

hmm not sure if these steps works, 
thanks. 


-- 
Regards, 
Jones 


2014-05-23 21:37 GMT+08:00 Tobias Dinse < mailingliste1 at stegbauer.info > : 


Hi all, 

currently we have troubles with the constellation of Office 2007 / 2010 and samba 3.6.6 on Debian 7.5. 

I can open a Excel file only one time without a write protection. The File is protected on the second try. I can move and copy the file wihtout any Problems. If I move such a Excel File I can open it again for only one time without a write Protection. 

I already reseted and checked my ACL configuration and tried chmod 777 without success. Here is my Configuration for the Share (the Users are in the Group "cad"): 



[cad] 
comment = CAD 
path = /mnt/samba-daten/work/webdav/cad 
#guest ok = no 
writable = yes 
valid users = root, @cad, @xx-domuser 
admin users = root 
create mask = 0770 
force create mode = 0770 
directory mask = 0770 
force directory mode = 0770 
veto oplock files = /*.xlsx/*.xls/*.XLS/*.docx/*.doc/*.DOC /*.prt/ /*.PRT/ /*.sldprt/ /*.SLDPRT/ /*.slddrw/ /*.SLDDRW/ /*.sldasm/ /*.SLDASM/ /*.dll/ /*.DLL/ /~$*/ 
vfs objects = recycle 
recycle:keeptree = yes 
recycle:touch = Yes 
recycle:versions = Yes 
recycle:maxsize = 1000000 
recycle:exclude = *.tmp 
recycle:exclude_dir = /tmp 
recycle:repository = Papierkorb/%U 
inherit acls = yes 
inherit permissions = yes 
map hidden = no 
map archive = no 
map readonly = no 
store dos attributes = yes 
dos filemode = yes 

getfacl for /mnt/samba-daten/work/webdav/cad 

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


thanks and regards 

Tobias 




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







More information about the samba mailing list