OpenOffice opens documents read only from Samba Share
There is an issue with OpenOffice saving/opening to a Home share on a Samba Server. It happens in multiple versions.
Its a conflict with a directive in
smb.conf .....
veto files = /.*/
This, is used, quite commonly, and sometimes by default to define a list of files and directories that are neither visible nor accessible. Normally no directories beginning with "." in the home directory are seen, as users could delete vital profile information.
Openoffice changed behaviour, some time back, and it now creates a lock file in the share when editing or creating a document. The lock file is called
.~lock.filename.extension#because .* is vetoed, it cant create the lock file, and hence makes it read only.
This doesn't happen on a Public Share, or any samba share which doesn't have "veto files = /.*/"
Thus, we need to be more specific now in Samba, there doesn't seem much chance of Openoffice changing its locking method.
This allows things to work with openoffice lock files, while preserving the integrity of profile directories....
veto files = /.bash*/.profile/
other Linux Related Tips...