-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 6.9.0
-
Component/s: Server - Platform
-
Environment:
Linux / OSX
-
Severity 3 - Minor
Steps
- From Confluence 6.9.0, start-confluence.bat and stop-confluence.bat have execute attribute set from the packaged .tar.gz file
What happened...
confluence test$ find . -name "*-confluence.bat" | xargs ls -l
-rw-r--r-- 1 test staff 477 Mar 5 2015 ./atlassian-confluence-5.7.1/bin/start-confluence.bat
-rw-r--r-- 1 test staff 81 Mar 5 2015 ./atlassian-confluence-5.7.1/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 477 Oct 22 2015 ./atlassian-confluence-5.8.15/bin/start-confluence.bat
-rw-r--r-- 1 test staff 81 Oct 22 2015 ./atlassian-confluence-5.8.15/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 477 Jun 29 2015 ./atlassian-confluence-5.8.5/bin/start-confluence.bat
-rw-r--r-- 1 test staff 81 Jun 29 2015 ./atlassian-confluence-5.8.5/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 477 Mar 17 2016 ./atlassian-confluence-5.9.7/bin/start-confluence.bat
-rw-r--r-- 1 test staff 81 Mar 17 2016 ./atlassian-confluence-5.9.7/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 477 Oct 19 2016 ./atlassian-confluence-5.10.8/bin/start-confluence.bat
-rw-r--r-- 1 test staff 81 Oct 19 2016 ./atlassian-confluence-5.10.8/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 477 Mar 17 2017 ./atlassian-confluence-6.0.7/bin/start-confluence.bat
-rw-r--r-- 1 test staff 81 Mar 17 2017 ./atlassian-confluence-6.0.7/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 1185 Sep 5 2017 ./atlassian-confluence-6.4.0/bin/start-confluence.bat
-rw-r--r-- 1 test staff 83 Sep 5 2017 ./atlassian-confluence-6.4.0/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 1185 Jan 8 15:34 ./atlassian-confluence-6.6.1/bin/start-confluence.bat
-rw-r--r-- 1 test staff 83 Jan 8 15:34 ./atlassian-confluence-6.6.1/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 1185 Jan 23 13:55 ./atlassian-confluence-6.6.2-dc/bin/start-confluence.bat
-rw-r--r-- 1 test staff 83 Jan 23 13:55 ./atlassian-confluence-6.6.2-dc/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 1185 Jan 25 15:51 ./atlassian-confluence-6.7.0-mssql/bin/start-confluence.bat
-rw-r--r-- 1 test staff 83 Jan 25 15:51 ./atlassian-confluence-6.7.0-mssql/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 1185 Mar 19 12:44 ./atlassian-confluence-6.8.0/bin/start-confluence.bat
-rw-r--r-- 1 test staff 83 Mar 19 12:44 ./atlassian-confluence-6.8.0/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 1185 Apr 4 16:49 ./atlassian-confluence-6.8.1/bin/start-confluence.bat
-rw-r--r-- 1 test staff 83 Apr 4 16:49 ./atlassian-confluence-6.8.1/bin/stop-confluence.bat
-rw-r--r-- 1 test staff 1185 Apr 26 15:01 ./atlassian-confluence-6.8.2/bin/start-confluence.bat
-rw-r--r-- 1 test staff 83 Apr 26 15:01 ./atlassian-confluence-6.8.2/bin/stop-confluence.bat
-rwxr-xr-x 1 test staff 1185 May 7 10:58 ./atlassian-confluence-6.9.0/bin/start-confluence.bat
-rwxr-xr-x 1 test staff 83 May 7 10:58 ./atlassian-confluence-6.9.0/bin/stop-confluence.bat
-rwxr-xr-x 1 test staff 1185 Jun 12 12:14 ./atlassian-confluence-6.10.0-m65/bin/start-confluence.bat
-rwxr-xr-x 1 test staff 83 Jun 12 12:14 ./atlassian-confluence-6.10.0-m65/bin/stop-confluence.bat
When a user types on the shell:
./start- (tab character)
./start-confluence. (auto-complete now stops and makes the user unnecessarily choose between .bat or .sh)
Similarly when trying to run stop-confluence
What should have happened...
When a user types on the shell:
./start- (tab character)
./start-confluence.sh (auto-complete should only match .sh)
./stop- (tab character)
./stop-confluence.sh (auto-complete should only match .sh)
Confluence is the only product that now prompts user to choose between .sh or .bat on Linux / OSX since Confluence 6.9.0. There is no benefit setting .bat (that I'm aware of) with the Linux execute attribute as Windows uses the file extension to determine whether a file is executable.