To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=67081
                 Issue #|67081
                 Summary|samba locking => cannot reference cell of open spreads
                        |heet
               Component|porting
                 Version|OOo 2.0.3
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Thu Jul  6 08:50:10 -0700 
2006 -------
Yeah, I know locking is a wonderful topic that everyone is really happy to see,
but bear with me, at least to at least be aware of this particular effect.

mount a dir exported through samba from a Fedora Core 5 box to another one (or
itself), e.g.

mount //127.0.0.1/samba /mnt/serveur -t cifs -o user=caolan

put some .ods content onto /mnt/serveur

take the attached test case code and run it like so...

./a.out /mnt/serveur/essai1.ods unlock
ok
./a.out /mnt/serveur/essai1.ods lock
Permission denied

i.e. you can't read from a fd which points to a file which is opened with a
write lock over samba (with the default options anyway, I'm not much of a samba 
guy)

This bites calc like so...
open the .ods from the samba mount in calc, 
open a new empty spreadsheet, and click "=" 
and then move to the opened doc (which is holding a write lock) and click in a
cell. 
Now back to the empty sheet, the reference to the cell in the first doc is
shown, press enter to accept it and to attempt to insert it's content into OOo.

Now calc reopens the original document to attempt to parse it to get the content
of the selected cell to put into the empty spreadsheet, but it fails. =>
"#NAME?", because the underlying new fd to the samba mounted calc doc cannot be
read from.

If instead you close the samba mounted doc and type the reference manually into
a cell, then all is ok.

---------------------------------------------------------------------
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