diff --git a/src/python/pants/backend/python/providers/pyenv/rules.py b/src/python/pants/backend/python/providers/pyenv/rules.py index 417a73f0115..4bcf60bdb49 100644 --- a/src/python/pants/backend/python/providers/pyenv/rules.py +++ b/src/python/pants/backend/python/providers/pyenv/rules.py @@ -187,10 +187,6 @@ def main(): shutil.rmtree(SPECIFIC_VERSION_PATH, ignore_errors=True) subprocess.run(["{pyenv.exe}", "install", SPECIFIC_VERSION], check=True) - # Removing write perms helps ensure users aren't accidentally modifying - # Python or the site-packages - subprocess.run(["chmod", "-R", "-w", str(SPECIFIC_VERSION_PATH)], check=True) - subprocess.run(["chmod", "+w", str(SPECIFIC_VERSION_PATH)], check=True) DONEFILE_PATH.touch() if __name__ == "__main__":