You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/02/17 22:54:11 UTC
[jira] [Created] (SOLR-7122) bin scripts don't have executable
permissions in src releases
Hoss Man created SOLR-7122:
------------------------------
Summary: bin scripts don't have executable permissions in src releases
Key: SOLR-7122
URL: https://issues.apache.org/jira/browse/SOLR-7122
Project: Solr
Issue Type: Bug
Affects Versions: 4.10, 5.0
Reporter: Hoss Man
Assignee: Timothy Potter
Priority: Minor
Fix For: 5.1
if you download a tgz source release and build Solr yourself, the various scripts (eg: bin/solr, bin/post, server/scripts/cloud-scripts/zkcli.sh, etc..) don't have the executable bit set so they can't be run from shell.
chmod a+x is easy to run, but we see about getting these filesys props set properly inside the tgz file...
{noformat}
$ tar tzvf solr-5.0.0-src.tgz | grep /solr/bin/
drwxr-xr-x 0/0 0 2015-02-15 13:24 solr-5.0.0/solr/bin/
drwxr-xr-x 0/0 0 2015-02-15 13:24 solr-5.0.0/solr/bin/init.d/
-rw-r--r-- 0/0 2689 2014-12-23 16:20 solr-5.0.0/solr/bin/init.d/solr
-rw-r--r-- 0/0 8293 2015-01-21 10:04 solr-5.0.0/solr/bin/install_solr_service.sh
-rw-r--r-- 0/0 1255 2014-12-24 08:59 solr-5.0.0/solr/bin/oom_solr.sh
-rw-r--r-- 0/0 7371 2015-01-21 19:07 solr-5.0.0/solr/bin/post
-rw-r--r-- 0/0 54757 2015-01-30 18:46 solr-5.0.0/solr/bin/solr
-rw-r--r-- 0/0 47656 2015-02-09 08:08 solr-5.0.0/solr/bin/solr.cmd
-rw-r--r-- 0/0 4143 2015-01-15 11:43 solr-5.0.0/solr/bin/solr.in.cmd
-rw-r--r-- 0/0 4424 2015-01-15 11:43 solr-5.0.0/solr/bin/solr.in.sh
$ tar tzvf solr-5.0.0-src.tgz | grep server/scripts/cloud-scripts/
drwxr-xr-x 0/0 0 2015-02-15 13:24 solr-5.0.0/solr/server/scripts/cloud-scripts/
-rw-r--r-- 0/0 317 2013-05-10 15:29 solr-5.0.0/solr/server/scripts/cloud-scripts/log4j.properties
-rw-r--r-- 0/0 707 2014-07-14 10:31 solr-5.0.0/solr/server/scripts/cloud-scripts/zkcli.bat
-rw-r--r-- 0/0 485 2014-05-29 06:05 solr-5.0.0/solr/server/scripts/cloud-scripts/zkcli.sh
{noformat}
compare to the non-src release...
{noformat}
$ tar tzvf solr-5.0.0.tgz | grep /bin/
drwxr-xr-x 0/0 0 2015-02-15 12:38 solr-5.0.0/bin/
drwxr-xr-x 0/0 0 2015-02-15 12:38 solr-5.0.0/bin/init.d/
-rwxr-xr-x 0/0 2689 2015-02-15 12:38 solr-5.0.0/bin/init.d/solr
-rwxr-xr-x 0/0 8293 2015-02-15 12:38 solr-5.0.0/bin/install_solr_service.sh
-rwxr-xr-x 0/0 1255 2015-02-15 12:38 solr-5.0.0/bin/oom_solr.sh
-rwxr-xr-x 0/0 7371 2015-02-15 12:38 solr-5.0.0/bin/post
-rwxr-xr-x 0/0 54757 2015-02-15 12:38 solr-5.0.0/bin/solr
-rwxr-xr-x 0/0 47656 2015-02-15 12:38 solr-5.0.0/bin/solr.cmd
-rwxr-xr-x 0/0 4143 2015-02-15 12:38 solr-5.0.0/bin/solr.in.cmd
-rwxr-xr-x 0/0 4424 2015-02-15 12:38 solr-5.0.0/bin/solr.in.sh
$ tar tzvf solr-5.0.0.tgz | grep server/scripts/cloud-scripts/
drwxr-xr-x 0/0 0 2015-02-15 12:38 solr-5.0.0/server/scripts/cloud-scripts/
-rw-r--r-- 0/0 317 2015-02-15 12:38 solr-5.0.0/server/scripts/cloud-scripts/log4j.properties
-rw-r--r-- 0/0 707 2015-02-15 12:38 solr-5.0.0/server/scripts/cloud-scripts/zkcli.bat
-rwxr-xr-x 0/0 485 2015-02-15 12:38 solr-5.0.0/server/scripts/cloud-scripts/zkcli.sh
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org