Skip to content

Commit 7794749

Browse files
committed
unix file modes are a blessing and a curse
1 parent 1a76bbf commit 7794749

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

local/etc/uceap.d/devcontainer_on_create.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ function devcontainer_on_create() {
44
echo "umask 002" >>~/.zshrc
55
echo "umask 002" >>~/.bashrc
66

7+
# the first time we run this script the default umask is still in effect,
8+
# which messes up permissions on the log file that gets created when we run drush deploy
9+
umask 002
10+
711
sudo sh -c "cat >> /etc/apache2/sites-available/000-default.conf" <<-EOF
812
<Directory /var/www/html>
913
AllowOverride All

0 commit comments

Comments
 (0)