Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 531f6b1

Browse files
authored
Fixes #1771: blt vm writes to bashrc in DrupalVM and leaves it unwritable. (#1773)
1 parent 327103e commit 531f6b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/drupal-vm/post-provision.sh

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ BLT_ALIAS_FILE="./vendor/acquia/blt/scripts/blt/alias"
1616
if [ -f "$BLT_ALIAS_FILE" ]
1717
then
1818
grep -q -F 'function blt' /home/vagrant/.bashrc || (cat "$BLT_ALIAS_FILE" /home/vagrant/.bashrc > temp && mv temp /home/vagrant/.bashrc)
19+
chown vagrant /home/vagrant/.bashrc
20+
chgrp vagrant /home/vagrant/.bashrc
21+
1922
else
2023
echo "Make sure you're in the project root and have run composer install."
2124
exit 1

0 commit comments

Comments
 (0)