[Samba] Samba Share - MS Excel when saving "can't access the file, there are several possible reasons"

Daniel Müller mueller at tropenklinik.de
Tue Jul 3 00:11:44 MDT 2012


Hi,

Try this

directory mask=2770
        force directory mode=2770
        create mask = 2770
        force create mode=2770
        force security mode=2770
        force directory security mode=2770
        force group= yourgroup

Give the directory the sticky bit for the group

Good Luck
Daniel

-----------------------------------------------
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
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Günter Kukkukk
Gesendet: Dienstag, 3. Juli 2012 06:45
An: samba at lists.samba.org
Betreff: Re: [Samba] Samba Share - MS Excel when saving “can't access the
file, there are several possible reasons”

Am Dienstag, 3. Juli 2012, 06:16:45 schrieb Gibransyah Fakhri:
> Hello all samba fans.., Long live open source :) Thanks for the 
> @adminbot for approving me to joining this milis.
> 
> Please allow me to ask the question,
> I have a weird problem in my samba share. I have one share definition 
> for 3 client (A,B,C) This share contain some excel file which having a 
> lot of formula and linked each other.
> Client A access the file with libre office (ubuntu), client B access 
> with WinXP & MS Office 2003, The write and read process working 
> successfuly on Both of them.
> 
> The problem occur when client C accessing the same file with MS Excel
> 2003 (windows xp). This messagebox appear when he saving the file :
> 
> "Microsoft office excel cannot access the \\192.168.1.23\myshare\ 
> There are several possible reasons:
> 
>      - The File ort path does not exist The file is being used by 
> another program.
>      - The workbook you are trying to save has the same name as a
>      - Currently open workbooks."
> 
> I was trying http://support.microsoft.com/kb/291204 but it didnt work.
> Below is my share definition :
> 
> [brainshare]
> comment = brainshare
> path = /opt/brainshare/
> valid users = @brainshare
> force group = brainshare
> read only = No
> create mask = 0775
> veto files = /*.scr/*.eml/thumbs.com/
> 
> Help me please... Thanks in advance !
> Server: Ubuntu 10.10, Samba version 3.5.4
> 
> --
> Thinking out of the box

what does "smbstatus" (run as root) on the samba server show when all 3
clients have the same file open?

Does this only happen when _all_ 3 clients access that file at the same
time?

So, does it work when only B and C (windows xp) clients access that file?

Cheers, Günter
--
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