Apache Ant symbolic is broken, link installed by apt-get

Bug #1902570 reported by toru esashika
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ant (Ubuntu)
New
Undecided
Unassigned

Bug Description

The symbolic links in /usr/bin/ant and /bin/ant are the same. However, the symbolic link in /bin/ant points to a location where the command does not exist.

$ ls -l /usr/bin/ant
/usr/bin/ant -> ../share/ant/bin/ant

$ ls -l /bin/ant
/bin/ant -> ../share/ant/bin/ant

This '/bin/ant -> ../share/ant/bin/ant' is a '/bin/share/ant/bin/ant'. It's nothing the Path.

$ sudo find / -name ant
/usr/bin/ant
/usr/share/maven-repo/org/apache/ant
/usr/share/maven-repo/org/apache/ant/ant
/usr/share/doc/ant
/usr/share/nvidia-visual-profiler/plugins/org.apache.ant_1.9.2.v201404171502/bin/ant
/usr/share/ant
/usr/share/ant/bin/ant
/usr/share/bash-completion/completions/ant
/usr/local/cuda-11.1/libnvvp/plugins/org.apache.ant_1.9.2.v201404171502/bin/ant
/usr/local/etc/ant
/usr/local/src/opencv.bk/samples/java/ant
/usr/local/src/opencv/samples/java/ant
/usr/local/lib/apache-ant-1.8.4/bin/ant
/usr/local/lib/apache-ant-1.8.4/manual/api/org/apache/tools/ant
/usr/local/lib/ant
/snap/core18/1885/usr/share/bash-completion/completions/ant
/snap/core18/1932/usr/share/bash-completion/completions/ant

description: updated
Revision history for this message
Marc Deslauriers (mdeslaur) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

affects: linux (Ubuntu) → ant (Ubuntu)
information type: Private Security → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.