Skip to content

Commit 2072680

Browse files
committed
feat: change filesystem permissions during setup:install
1 parent 65faf44 commit 2072680

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

bin/setup-install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ LANGUAGE="${LANGUAGE:-en_US}"
5959
CURRENCY="${CURRENCY:-USD}"
6060
TIMEZONE="${TIMEZONE:-America/New_York}"
6161

62+
# Setting system permissions
63+
find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} +
64+
find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} +
65+
chmod u+x bin/magento
66+
6267
# Build the setup:install command
6368
cat << 'EOF'
6469
bin/magento setup:install \

0 commit comments

Comments
 (0)