https://bugs.freedesktop.org/show_bug.cgi?id=77902

          Priority: medium
            Bug ID: 77902
          Assignee: [email protected]
           Summary: Device I/O error when appending to log file from Linux
                    to Samba share
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86 (IA32)
            Status: UNCONFIRMED
           Version: 4.1.3.2 release
         Component: BASIC
           Product: LibreOffice

Created attachment 97912
  --> https://bugs.freedesktop.org/attachment.cgi?id=97912&action=edit
Attempts an append to a log file on a Samba share

Running LO 4.1.3.2 (release version) on Linux Mint 16, when I run LO BASIC code
that attempts to append some text to a log file on a Samba share, I get a
Device I/O error. No, there are no access or permission issues - I can read the
log file just fine, and I can create files in that directory using Nautilus.

The attached Calc file has a button that runs some sample code. On my network,
I can run the program fine from a Windows machine - it reads the first few
lines from the log file, then appends a line at the end of the log file. When I
run the code on a Linux machine, the following line gives me a Device I/O
error:

Open sPath For Append As #1

But the Open sPath For Input As #1 just above that line works fine.

Obviously if others want to test this code, you would need to change the path
to a Samba server that you have access to on your network. On my Linux systems,
I access our server using smb://cdb.sil.org/server. Just FYI, the ConvertToURL
line in the code changes the "//cdb.sil.org/server" path to different things on
different OS's. On Windows it changes it to "file://cdb.sil.org/server" and on
Linux it changes it to "smb://cdb.sil.org/server".

This is NOT a duplicate of bug#67527. I also had some problems with LO not
creating lock files on our Samba share and applied the workaround in Comment
#15, and that solved that problem. With that workaround applied, however, the
bug described here still occurs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to