tomcat*-instance-create fails on paths with spaces

Bug #977498 reported by JW on 2012-04-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tomcat6 (Ubuntu)
Medium
James Page
Precise
Medium
James Page
tomcat7 (Ubuntu)
Medium
James Page
Precise
Medium
James Page

Bug Description

When running the command:
    $ tomcat6-instance-create "~/A B"
errors appear, and directories named ~ and A are created in my home folder, but not "A B".

Similarly, when running:
    $ tomcat6-instance-create ~/A\ B
two directories A and B are created in my home folder, but not "A B".
Again, errors appear, such as "mkdir: Could not create ~/A: file exists already" and "ln: goal B/lib is not a directory".

Expected behaviour:
a Tomcat installation should appear in "~/A B",
no errors should be shown in the terminal window.

Version information:
Ubuntu: 12.04 Beta 2
tomcat6: 6.0.35-1ubuntu2
tomcat6-user: 6.0.35-1ubuntu2

James Page (james-page) on 2012-04-11
Changed in tomcat6 (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
James Page (james-page) on 2012-04-11
Changed in tomcat6 (Ubuntu):
assignee: nobody → James Page (james-page)
Changed in tomcat6 (Ubuntu Precise):
milestone: none → ubuntu-12.04
James Page (james-page) on 2012-04-11
Changed in tomcat7 (Ubuntu Precise):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → James Page (james-page)
summary: - tomcat6-instance-create fails on paths with spaces
+ tomcat*-instance-create fails on paths with spaces
James Page (james-page) on 2012-04-11
Changed in tomcat6 (Ubuntu Precise):
status: Confirmed → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomcat6 - 6.0.35-1ubuntu3

---------------
tomcat6 (6.0.35-1ubuntu3) precise; urgency=low

  * Handle creation of user instances with pathnames containing spaces
    (LP: #977498):
    - d/tomcat6-instance-create: Quote access to files and directories
      so that spaces can be used when creating user instances.
 -- James Page <email address hidden> Wed, 11 Apr 2012 10:29:11 +0100

Changed in tomcat6 (Ubuntu Precise):
status: In Progress → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomcat7 - 7.0.26-1ubuntu1

---------------
tomcat7 (7.0.26-1ubuntu1) precise; urgency=low

  * Handle creation of user instances with pathnames containing spaces
    (LP: #977498):
    - d/tomcat7-instance-create: Quote access to files and directories
      so that spaces can be used when creating user instances.
 -- James Page <email address hidden> Wed, 11 Apr 2012 10:49:51 +0100

Changed in tomcat7 (Ubuntu Precise):
status: Confirmed → Fix Released
JW (jw-00000) wrote :

Verified, it works correctly.

Thanks for fixing this so quickly! :-)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers