AnsweredAssumed Answered

How to check if Alfresco is really running as root?

Question asked by kylee on Aug 22, 2015
Latest reply on Sep 22, 2016 by jpotts

I am running Alfresco Community 4.2.f on Ubuntu 14.04.  I installed Alfresco using the downloaded bin file alfresco-community-4.2.f-installer-linux-x64.bin.

I wanted to run a content transformation from tif to txt, and have created the ocrtiff-transform-context.xml in
/opt/alfresco-4.2.f/tomcat/shared/classes/alfresco/extension.  The xml file makes a reference to the script file named /opt/alfresco-4.2.f/ocr.  There is a command /usr/bin/tesseract input_file.tif output_file -l eng in the script file.  Tesseract converts the input tif file into an output txt file.  The script file was made executable, owned by root.root.

I used the configuration as stated in

The input file was stored in the /tmp directory and owned by root.root.  The output text file generated by tesseract has ZERO bytes, which I am really baffled.  I am able to run the tesseract command using the command line, but using sudo.

Is this a permission problem?  Is it not that alfresco is running as root?

How do I check please?