[Samba] Excel and Samba Problem

L.P.H. van Belle belle at bazuin.nl
Thu Feb 19 05:54:01 MST 2015


ok.. 

and you did also a .. 
chmod -R 2770 /path/to/dir

The folder you are share-ing also needs 2770 



>-----Oorspronkelijk bericht-----
>Van: Oliver Werner [mailto:oliver.werner at kontrast.de] 
>Verzonden: donderdag 19 februari 2015 13:45
>Aan: L.P.H. van Belle
>CC: samba at lists.samba.org
>Onderwerp: Re: [Samba] Excel and Samba Problem
>
>I have try it but does not help. I get the same error…
>
>
>
>> Am 19.02.2015 um 13:22 schrieb L.P.H. van Belle <belle at bazuin.nl>:
>> 
>> i have the following for a share on my samba 3.6.6 
>> 
>>        directory mode = 2770
>>        force directory mode = 2770
>>        blocking locks = no
>> 
>> can you try these.
>> 
>> Greetz, 
>> 
>> Louis
>> 
>>> -----Oorspronkelijk bericht-----
>>> Van: oliver.werner at kontrast.de 
>>> [mailto:samba-bounces at lists.samba.org] Namens Oliver Werner
>>> Verzonden: donderdag 19 februari 2015 12:45
>>> Aan: samba at lists.samba.org
>>> Onderwerp: [Samba] Excel and Samba Problem
>>> 
>>> Hello,
>>> 
>>> We have a problem with our Samba server (we tested with two 
>>> versions 3.6.6 and 4.1.11).
>>> When a User edit an Excel file and saves, another user can not 
>>> save this edited later.
>>> The temporary file named like 885E9010 will be created and 
>>> Excel reports that this file can not be accessed.
>>> 
>>> I have test it with Windows and Mac. Both have the same Problem.
>>> 
>>> This is our samba configuration:
>>> 
>>> [global]
>>>  security = domain
>>>  workgroup = company
>>>  netbios name = fileserver
>>>  winbind separator = /
>>>  winbind use default domain = yes
>>>  winbind cache time = 300
>>>  encrypt passwords = true
>>>  server string = FILESERVER
>>>  log level = 0
>>>  max log size = 1024000
>>>  unix extensions = No
>>>  logon path = \\fileserver3\profiles\%U
>>>  logon home = \\fileserver3\Profiles\%U
>>>  logon drive = H:
>>>  logon script = logon.bat
>>>  block size = 4096
>>>  max protocol = SMB2
>>> 
>>> [Data]
>>>  path = /data/
>>>  browseable = yes
>>>  writeable = yes
>>>  force group = Intern
>>>  valid users = @Intern
>>>  create mask = 0660
>>>  directory mask = 0770
>>>  vfs objects = full_audit recycle
>>>  full_audit:prefix = %u
>>>  full_audit:success = mkdir rename rmdir unlink pwrite
>>>  full_audit:failure = none
>>>  full_audit:facility = LOCAL5
>>>  full_audit:priority = NOTICE
>>>  recycle:versions = yes
>>>  recycle:exclude = .*, ~*
>>> 
>>> 
>>> And here are the rights for the Files on Samba Server:
>>> 
>>> 535041902  4 drwxrwx---  3 user.a Intern       4096 Feb 19 12:35 .
>>> 535041673  0 -rw-rw----  1 userb      Intern          0 Feb 19 
>>> 12:35 885E9010
>>> 535041669 68 -rw-rw----  1 usera      Intern      69492 Feb 19 
>>> 12:34 Testfile.xlsx
>>> 535037291  4 -rw-rw----  1 userb      Intern        171 Feb 19 
>>> 12:35 ~$Testfile.xlsx
>>> 535037292  4 -rw-rw----  1 userb     Intern       4096 Feb 19 
>>> 12:35 ._~$Testfile.xlsx
>>> 
>>> 
>>> yours sincerely
>>> Oliver
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>>> 
>>> 
>> 
>> -- 
>> 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