Skip to content

Commit ad6672c

Browse files
authored
Update permissions for /workspaces
Add permissions for /workspaces to be accessible by httpd.
1 parent 95d8683 commit ad6672c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

local/etc/uceap.d/devcontainer_on_create.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ function devcontainer_on_create() {
1717
# This is how the example codespace changes the docroot. If it's good enough for them, it's good enough for me.
1818
sudo chmod a+x "$(pwd)" && sudo rm -rf /var/www/html && sudo ln -s "$(pwd)/web" /var/www/html
1919

20+
# Some hosts give us a /workspaces inaccessible to httpd
21+
chmod o+x /workspaces
22+
2023
# Setup database if MYSQL_HOST = 127.0.0.1
2124
cat >~/.my.cnf <<-EOF
2225
[client]

0 commit comments

Comments
 (0)