https://bz.apache.org/bugzilla/show_bug.cgi?id=66164
Bug ID: 66164
Summary: build/install from source changes file permissions
throughout my home directory
Product: Ant
Version: unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: Build Process
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I have downloaded the source code distribution apache-ant-1.10.12-src.tar.gz.
After unpacking it and setting the JAVA related environment variables
JAVA_HOME, JAVAC, and JAVACMD I run:
cd apache-ant-1.10.12
sh build.sh -Ddist.dir=<my_home_directory> dist
The build script builds and installs ant in my home directory. However, it also
goes through my entire home directory and changes the file permissions on any
executable file except:
ant executables and scripts
Python scripts
all other files have their executable permission removed including:
shell scripts (*.sh *.csh)
binary executables
This has done major damage to my working environment and I have no idea how
many packages I will have to reinstall to undo this mayhem.
Suggested fix: Ant should only touch files and directories associated with
itself and keep its fingers off anything else.
--
You are receiving this mail because:
You are the assignee for the bug.