我在Ubuntu 10.10的samba 3.5.4共享中出现了一个奇怪的问题。 我有一个共享定义为3个客户端(A,B,C)这个共享包含一些有很多公式的excel文件并且相互关联。 客户端A使用libre office(ubuntu)访问文件,使用WinXP&MS Office 2003访问客户端B,写入和读取过程都成功。
当客户端C访问与MS Excel 2003(Windows XP)相同的文件时,会发生此问题。 当他保存文件时出现这个消息框:
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.
我已经尝试了KB291204中提供的解决scheme,但没有奏效。 以下是我的分享定义:
[brainshare] comment = brainshare path = /opt/brainshare/ valid users = @brainshare force group = brainshare read only = No create mask = 0775 veto files = /*.scr/*.eml/thumbs.com/
我如何解决这个问题?
问题解决了。 该解决scheme来自[email protected]
Add this line to your share definition : # On 3 July 2012 13:11, Daniel Müller <[email protected]> wrote: 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