[ 
https://issues.apache.org/jira/browse/IGNITE-7326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16305407#comment-16305407
 ] 

Ilya Kasnacheev commented on IGNITE-7326:
-----------------------------------------

For the first point we should probably use readlink(3) to infer real location 
of script.

> Fix ignitevisorcmd | sqlline scripts to be able to run from /usr/bin 
> installed as symbolic links
> ------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-7326
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7326
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Peter Ivanov
>            Assignee: Peter Ivanov
>             Fix For: 2.5
>
>
> Currenlty, {{ignitevisorcmd.sh}} and {{sqlline.sh}} being installed into 
> {{/usr/bin}} will fail to run because of:
> * their unawarelessness of theirs real location;
> * necessity to write to {{$\{IGNITE_HOME}/work}} which can have different 
> permissions and owner (in packages, for example).
> It is required to rewrite these scripts to be able to run from anywhere by 
> theirs symbolic linka and with some temporary dir ({{/tmp}} for example) as 
> workdir.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to