[Samba] samba 3.6.6 office 2010, write protection on files

Martin Feldbacher martin.feldbacher at stegbauer.info
Mon May 5 03:06:36 MDT 2014


but if I set the sticky bit, I have the same problem like now? 

the users of the group should be able to open the files without writeprotection. right now, only the user who created the file, is able to open it without writeprotection. 

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

Von: "Daniel Müller" <mueller at tropenklinik.de> 
An: "Martin Feldbacher" <martin.feldbacher at stegbauer.info>, samba at lists.samba.org 
Gesendet: Montag, 5. Mai 2014 10:42:58 
Betreff: AW: [Samba] samba 3.6.6 office 2010, write protection on files 

Set the sticky bit for the group 


EDV Daniel Müller 

Leitung EDV 
Tropenklinik Paul-Lechler-Krankenhaus 
Paul-Lechler-Str. 24 
72076 Tübingen 
Tel.: 07071/206-463, Fax: 07071/206-499 
eMail: mueller at tropenklinik.de 
Internet: www.tropenklinik.de 

"Der Mensch ist die Medizin des Menschen" 



-----Ursprüngliche Nachricht----- 
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im 
Auftrag von Martin Feldbacher 
Gesendet: Montag, 5. Mai 2014 10:27 
An: samba at lists.samba.org 
Betreff: [Samba] samba 3.6.6 office 2010, write protection on files 

hey, 

I'm using samba version 3.6.6 on debian wheezy and windows 7 clients with 
office 2010, on my samba share I've the following settings: 

[cad] 
comment = CAD 
path = /mnt/samba-daten/work/webdav/cad writable = yes valid users = root, 
@cad, @fg-domuser admin users = abc, def, ghi 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/ /*$ 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 #inherit owner = yes # 
http://ww3.cad.de/foren/ubb/Forum2/HTML/010834.shtml 
map hidden = no 
map archive = no 
map readonly = no 
store dos attributes = yes 
dos filemode = yes 

users in the group 'cad' can create xlsx and docx files with office 2010, 
but everybody else in this group can only open this files in write-protected 
mode. 
if I check the settings on windows with rightclick->settings the checkbox 
with 'write-protection' is set on the whole folder.. 

on linux the folder rights are 
drwxrwx---+ 68 www-data cad 
and the file rights 
-rwxrwx---+ 1 user fg-domuser 7767 Apr 28 11:35 test.xlsx 

it should be possible that every user is allowed to open files on this 
share-folder without writeprotection, any ideas how to handle this? 

would be thankfull for every hint! 

greets 
martin 



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




-- 
Firma Stegbauer datawork GmbH & Co. KG 
Oberjulbachring 9 
84387 Julbach 

Tel.: +49 8571 9251222 
E-Mail: martin.feldbacher at stegbauer.info 
Internet: www.stegbauer.info 

Unternehmenssitz: Julbach 
Handelsregister beim Amtsgericht: Landshut 
Handelsregister-Nummer: HRA 10671 

Persönlich haftende Gesellschafterin: 
Firma Stegbauer datawork Verwaltungs GmbH - Sitz: Julbach 
Handelsregister beim Amtsgericht: Landshut 
Handelsregisternummer: HRB 9147 
Geschäftsführer: Thomas Stegbauer 



More information about the samba mailing list