https://bugs.freedesktop.org/show_bug.cgi?id=59022
Lionel Elie Mamane <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|FILEOPEN general error |FILEOPEN general error |(IOErrorCode_ACCESS_DENIED) |(IOErrorCode_ACCESS_DENIED) |when opening .odt file on |when opening OpenDocument |CIFS filesystem |file on CIFS filesystem --- Comment #9 from Lionel Elie Mamane <[email protected]> --- I just discovered that I get the problem only on *some* files. Here's what an strace looks on a file that works in 4.0: 27598 access("/path/to/filename.odt", F_OK) = 0 27598 lstat("/path/to/filename.odt", {st_mode=S_IFREG|0600, st_size=2914 27598 access("/path/to/filename.odt", F_OK) = 0 27598 lstat("/path/to/filename.odt", {st_mode=S_IFREG|0600, st_size=2914 27598 open("/path/to/filename.odt", O_RDONLY|O_EXCL) = 67 27598 fstat(67, {st_mode=S_IFREG|0600, st_size=29142, ...}) = 0 27598 pread(67, "PK\3\4\24\0\0\10\0\0!K+B^\3062\f'\0\0\0'\0\0\0\10\0\0\0mi"..., 4096, 0) = 4096 27598 pread(67, " \221\201@\215\tL\312\204t\203\34\272NK\3053\226\363Q9\301\241\355\342\307`\275\323\203\242<"..., 4096, 24576) = 4096 27598 pread(67, "\0\0Configurations2/toolbar/PK\1\2\24\0"..., 4096, 28672) = 470 27598 pread(67, " \221\201@\215\tL\312\204t\203\34\272NK\3053\226\363Q9\301\241\355\342\307`\275\323\203\242<"..., 4096, 24576) = 4096 27598 pread(67, "\0\0Configurations2/toolbar/PK\1\2\24\0"..., 4096, 28672) = 470 27598 pread(67, " \221\201@\215\tL\312\204t\203\34\272NK\3053\226\363Q9\301\241\355\342\307`\275\323\203\242<"..., 4096, 24576) = 4096 27598 time(NULL) = 1358397004 27598 pread(67, "PK\3\4\24\0\0\10\0\0!K+B^\3062\f'\0\0\0'\0\0\0\10\0\0\0mi"..., 4096, 0) = 4096 27598 close(67) = 0 Here, the "type detection" file open is *closed* before proceeding to the "copy to temporary file", thus freeing the lock. -- 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
