The folder is owned by the same user that is executing the command, so I don't think that's an issue. It would be ideal if there was a way to find out what the actual permissions error is. Is there a log file or a verbose option to get this information? Trying lots of things without knowing the details of the issue is quite inefficient.
On Thu, Mar 28, 2013 at 11:27 AM, Jay Lozier [via Document Foundation Mail Archive] <[email protected]> wrote: > On 03/28/2013 01:58 PM, Tom Davies wrote: > > Hi :) > > It might have made a difference if he didn't have read/write access to > the folder or something dumb like that. Also it's something quick to try > and beats just tearing your hair out. > > Regards from > > Tom :) > > > sudo chown blah to change ownership of the folder - I have to look the > exact switches, etc. I have seen this issue crop up occasionally were a > folder tree does not have the permissions set to allow something like > this. > > > > > > > > >> ________________________________ > >> From: Jay Lozier <[hidden > >> email]<http://user/SendEmail.jtp?type=node&node=4046769&i=0>> > > >> To: Kieran Peckett <[hidden > >> email]<http://user/SendEmail.jtp?type=node&node=4046769&i=1>> > > >> Cc: [hidden email]<http://user/SendEmail.jtp?type=node&node=4046769&i=2> > >> Sent: Thursday, 28 March 2013, 17:26 > >> Subject: Re: [libreoffice-users] --convert-to always fails silently on > Ubuntu > >> > >> Keieran > >> > >> I missed that last night - good catch > >> > >> On 03/28/2013 12:51 PM, Kieran Peckett wrote: > >>> How would that make a difference? Isn't that what he means when he > >>> said it wouldn't work as SU? - either that or he ran "sudo su" before > >>> running the command, so I doubt that that is th problem. > >>> > >>> On 28/03/2013, Jay Lozier <[hidden > >>> email]<http://user/SendEmail.jtp?type=node&node=4046769&i=3>> > wrote: > >>>> On 03/27/2013 10:57 PM, Graham Glass wrote: > >>>>> Hi everyone, > >>>>> > >>>>> I just downloaded libreoffice 4 and installed it on a Mac (Lion) and > >>>>> Linux > >>>>> (Ubuntu). On the Mac, everything works exactly as I expected, and I > can > >>>>> easily convert documents to pdfs using the command line tool like > this: > >>>>> > >>>>> /Applications/LibreOffice.app/Contents/MacOS/soffice --headless > >>>>> --convert-to > >>>>> pdf sample.ppt > >>>>> > >>>>> However, on Unbuntu, when I execute the equivalent command, it > always > >>>>> fails > >>>>> quickly and silently with exit code 77 (Permission denied). > >>>>> > >>>>> /opt/libreoffice4.0/program/soffice --headless --convert-to pdf > >>>>> sample.ppt > >>>>> > >>>>> This failure happens regardless of whether I am a regular user or > >>>>> superuser. > >>>>> I am not running libreoffice via a user interface, and this command > is > >>>>> being > >>>>> executed on an Amazon EC2 headless machine. > >>>>> > >>>>> Can someone offer any advice, either a method to get more error > >>>>> information > >>>>> (such as a log file or a verbose flag) so I can figure out what's > going > >>>>> on? > >>>>> I'm sure it's a simple issue, but right now the lack of error > reporting > >>>>> is > >>>>> making it hard to get the issue resolved. > >>>>> > >>>>> Thanks in advance! > >>>>> > >>>>> Cheers, > >>>>> Graham > >>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> View this message in context: > >>>>> > http://nabble.documentfoundation.org/convert-to-always-fails-silently-on-Ubuntu-tp4046531.html > >>>>> Sent from the Users mailing list archive at Nabble.com. > >>>>> > >>>> Graham, > >>>> > >>>> Try the command prefixed with sudo. > >>>> > >>>> -- > >>>> Jay Lozier > >>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4046769&i=4> > >>>> > >>>> > >>>> -- > >>>> For unsubscribe instructions e-mail to: [hidden > >>>> email]<http://user/SendEmail.jtp?type=node&node=4046769&i=5> > >>>> Problems? > >>>> http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > >>>> Posting guidelines + more: > http://wiki.documentfoundation.org/Netiquette > >>>> List archive: http://listarchives.libreoffice.org/global/users/ > >>>> All messages sent to this list will be publicly archived and cannot > be > >>>> deleted > >>>> > >>>> > >> > >> -- > >> Jay Lozier > >> [hidden email] <http://user/SendEmail.jtp?type=node&node=4046769&i=6> > >> > >> > >> -- > >> For unsubscribe instructions e-mail to: [hidden > >> email]<http://user/SendEmail.jtp?type=node&node=4046769&i=7> > >> Problems? > http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > >> Posting guidelines + more: > http://wiki.documentfoundation.org/Netiquette > >> List archive: http://listarchives.libreoffice.org/global/users/ > >> All messages sent to this list will be publicly archived and cannot be > deleted > >> > >> > >> > >> > > > -- > Jay Lozier > [hidden email] <http://user/SendEmail.jtp?type=node&node=4046769&i=8> > > > -- > For unsubscribe instructions e-mail to: [hidden > email]<http://user/SendEmail.jtp?type=node&node=4046769&i=9> > Problems? > http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette > List archive: http://listarchives.libreoffice.org/global/users/ > All messages sent to this list will be publicly archived and cannot be > deleted > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://nabble.documentfoundation.org/convert-to-always-fails-silently-on-Ubuntu-tp4046531p4046769.html > To unsubscribe from --convert-to always fails silently on Ubuntu, click > here<http://nabble.documentfoundation.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4046531&code=Z3JhaGFtLmdsYXNzQGdtYWlsLmNvbXw0MDQ2NTMxfDE5NDA1OTkyNjM=> > . > NAML<http://nabble.documentfoundation.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://nabble.documentfoundation.org/convert-to-always-fails-silently-on-Ubuntu-tp4046531p4046772.html Sent from the Users mailing list archive at Nabble.com. -- For unsubscribe instructions e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
