fixing bug with install directory permissions