You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Mike Klaas (JIRA)" <ji...@apache.org> on 2007/09/05 19:15:34 UTC
[jira] Updated: (SOLR-200) Scripts don't work when run as root in
~root and su'ing to a user
[ https://issues.apache.org/jira/browse/SOLR-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Klaas updated SOLR-200:
----------------------------
Fix Version/s: (was: 1.1.0)
> 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.