Description: Using Oracle Linux Server 8.3 and trying to convert rtf to pdf using LibreOffice 7.0.4 and the conversion fails. Running the following command as root ./soffice --headless --convert-to pdf --outdir /tmp /tmp/abc.rtf The output seen is convert /tmp/abc.rtf -> /tmp/abc.pdf using filter : writer_pdf_Export Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///tmp/abc.pdf> failed: 0xc10(Error Area:Io Class:Write Code:16) /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3153 /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1735) Strangely, all other conversion works as expected (rtf to html, rtf to doc, rtf to odt). Also, I tried to convert rtf to pdf using LibreOffice 5.1.2.2 on the same Oracle Linux Server 8.3 and the conversion worked. Content of abc.rtf is simply – Hello World. Steps to Reproduce: 1. Create a simple rtf file 2. ./soffice --headless --convert-to pdf --outdir <dir_name> abc.rtf 3. Conversion fail Actual Results: Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///tmp/abc.pdf> failed: 0xc10(Error Area:Io Class:Write Code:16) /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3153 /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1735) Expected Results: rtf to pdf conversion successful Reproducible: Always User Profile Reset: Yes Additional Info: conversion successful using LibreOffice 5.1.2.2 on the same Oracle Linux Server 8.3
Created attachment 170444 [details] source file to convert to pdf
Created attachment 170445 [details] log file
Addition findings:- 1> pdf conversion FAILS when the Oracle Linux 8.3 is secured. 2> pdf conversion SUCCEEDS when OL8 is unsecured.
On pc Debian x86-64 with master sources updated or with LO Debian package 7.0.4, I don't reproduce this. What do you mean when you say "when the Oracle Linux 8.3 is secured", what are the precise changes between "secured" and "not secured"?
Secured means some custom rules are applied. Permission to some directories is prohibited. An interesting development, I downloaded master_dbg~2021-03-14_18.57.09_LibreOfficeDev_7.2.0.0.alpha0_Linux_x86-64_archive.tar.gz from https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@86-TDF-dbg/2021-03-14_18.57.09/ and the conversion works in secured OL8. Can you please provide an rpm version of that build? Or look into the bug??
About rpm providing, I don't know. I can't help here=>uncc myself.
This looks like WFM. Sorry for not understanding this but so far seems like it can be closed. Rpm is also at https://dev-builds.libreoffice.org/daily/master/current.html