Skip to content

Commit 4fbf8e1

Browse files
june-huaPeterSu92
authored andcommitted
Do not chown gcsfuse mounts (#428)
Application-container was showing errors when chown mounted buckets, which is not an allowed operation for gcsfuse mounts which relies on ACLs
1 parent 194e930 commit 4fbf8e1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/aou-sas/sas-pre-deploy.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ set -o pipefail
1515
# Data directories (on the sas-data volume)
1616
###############################################################################
1717
mkdir -p /data/saswork /data/utilloc
18-
chown -R aou:aougroup /data
18+
# Chown only the directories we manage, not /data/workspace (contains gcsfuse mounts)
19+
chown aou:aougroup /data
20+
chown -R aou:aougroup /data/saswork /data/utilloc
1921

2022
###############################################################################
2123
# AoU environment loader (staged in Dockerfile at /opt/sas/aou/)

0 commit comments

Comments
 (0)