[ 
https://issues.apache.org/jira/browse/SOLR-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Klaas resolved SOLR-200.
-----------------------------

    Resolution: Won't Fix

It doesn't surprise me that "/root" as the indexdir and "/" as solr_home 
doesn't work, being root or not.  I don't think that this is an important case.

> Scripts don't work when run as root in ~root and su'ing to a user
> -----------------------------------------------------------------
>
>                 Key: SOLR-200
>                 URL: https://issues.apache.org/jira/browse/SOLR-200
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Jürgen Hermann
>            Priority: Minor
>
> This patch avoids an error due to permission problems when orig_dir is /root
> -orig_dir=$(pwd)
> -cd ${0%/*}/..
> -solr_root=$(pwd)
> -cd ${orig_dir}
> +solr_root=$(cd ${0%/*}/.. && pwd)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to