Bug #2049

RCP: 0.7.8, CQP plugin, wrong execution rights

Added by Matthieu Decorde almost 3 years ago. Updated about 2 years ago.

Status:New Start date:02/17/2017
Priority:Normal Due date:
Assignee:- % Done:

70%

Category:SearchEngine Spent time: -
Target version:TXM 0.7.8

Description

Linux and Mac OS X need the CQP binary files to be executable.

Notes:
  • JAR (and ZIP) don't store file rights (TAR and GZ do)
  • a chmod commands does not work because the user is not the owner (same group is not enough).

Solution 1

gzip and extract files during the post-installation to be the right user and then to be able to change the execution rights.

Finally use the Java File API to set the rights (instead of using a Runtime command)

Solution 2

Wrap the Gz files in a tar file

History

#1 Updated by Serge Heiden almost 3 years ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde over 2 years ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde over 2 years ago

  • Description updated (diff)
  • % Done changed from 0 to 60

#4 Updated by Matthieu Decorde over 2 years ago

  • % Done changed from 60 to 80

#5 Updated by Matthieu Decorde about 2 years ago

  • Description updated (diff)
  • % Done changed from 80 to 70

#6 Updated by Matthieu Decorde about 2 years ago

  • Description updated (diff)

#7 Updated by Matthieu Decorde about 2 years ago

  • Description updated (diff)

Also available in: Atom PDF