To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=67081





------- Additional comments from [EMAIL PROTECTED] Thu Feb  1 08:32:43 -0800 
2007 -------
It is all true and a proposed attachment performs the described "Permission
denied". But this has nothing in common with OpenOffice. Is a totaly Samba/CIFS
issue. Increasing the debug level of the smbd(1) can give a lot of useful
information about the behaviour which causes the problem of concurent access. In
short, when someone has put a range lock, using posix symantics, through the
cifs, samba can deny access to other read/write attempts. And that's what it
does by default. Samba itself tries to resolv locking conflicts and denies
access if it finds the conflict.

To resolve the problem you can simply modify your smb.conf(5) by setting

strict locking = no

It is acceptable, as the smb.conf(5) tells us, and nothing breakes the usual
behaviour. Setting this parameter to "no" has a good effect on us, and the
locked file can be opened in read-only mode. That is the default behaviour of
the OpenOffice. It opens locked file in read-only mode.

In cases when we can't influence smb.conf(5) we simply can supply additional
option to mount.cifs which disables byte range locks at all, though it is not
recommended, like that:

mount //127.0.0.1/samba /mnt/server -t cifs -o rw,username=myname,nobrl

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to