WKHTML still not updated

Thank you for the fact that the scriptcase team has still not managed to update wkhtmltopdf.
That’s what you pay for …
Sorry - incapable.

No sure what your problem is?
Did you do a full deployment?
I tested a full deploy and all worked as expected.
The only thing I had to was to change the Permission on the server so that it is able to be executed from 700 to 755. This is server setting and not Scriptcase

1 Like

@Nico
If the permission change you specified worked then the ownership and possibly group for the file was incorrect. I find that SC puts out lots o nonsense regarding Linux permissions and SELinux. It would be proper if SC in building the TGZ, did so with the correct file perms in place.

1 Like

@Sean_H
I was not aware that this is possible when building the TGZ as I always just used the ZIP option to do my my builds. Can this be done when creating the TAR file from Windows?
Will investigate this as I am not a UNIX expert at all

Since Windows has no idea of Unix/Linux permissions, building the TGZ from Windows would not help.
To get it right for Unix/Linux, SC needs to generate the TGZ from a Linux machine using the right permissions and setting ownership/group or supply a simple script to set them correctly. To be particular

  • the files should have ownership and group set to apache, the default UID/GID for the the http server
  • the .php files should only have 440 or 640 perms … only a true executable or a directory needs to have execute perms
    The idea of having to turn off SELinux as recommended is also wrong - you just need the correct file contexts to make it work while having proper security.
    Their recommendations may sneak by in a development environment but when that mindset to turn off security to get things to work is carried over into a production environment you are setting yourself and your customers up for big trouble.
    Please pardon the rant but having been in IT development and QA, IT security and IT audit for decades, I have little patience for things that are not thoroughly done and tested.

But none of this has anything to do with the topic.