Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unoconv creates new file with root permissions #394

Closed
thepurpleblob opened this issue May 17, 2017 · 1 comment
Closed

Unoconv creates new file with root permissions #394

thepurpleblob opened this issue May 17, 2017 · 1 comment

Comments

@thepurpleblob
Copy link

This might be more of a question...

CentOS7 with libreoffice from packages, stock python and unoconv 0.7.

If I run unoconv as 'apache' use either from the command line or from PHP the conversion works but the resulting pdf file is now owned by root:root.

I'm a bit surprised by this and I'm struggling to understand why. It completely breaks PHP use as I now don't have permission to delete the file again.

Any thoughts about what might be going on?

@thepurpleblob
Copy link
Author

...answering my own question (!)... I already had a libreoffice-headless process running as root. Unoconv was clearly picking that up. I don't know where it came from but that's what it was.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant