[Samba] Excel and Samba Problem
Rowland Penny
rowlandpenny at googlemail.com
Thu Feb 19 05:01:15 MST 2015
On 19/02/15 11:44, Oliver Werner wrote:
> 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
>
>
>
>
Not sure if this is a samba problem, it has been years since I used
excel, but I seem to remember that it can save files read/write by
creator and read only by others.
Rowland
More information about the samba
mailing list