Skip to content

Commit 643d9f1

Browse files
committed
Try setting the content-workspace and its immediate subdirectories to be writable by all users to avoid permission issues
1 parent 6bb1842 commit 643d9f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/e2e/workbench-entrypoint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ EOF
2121

2222
echo "Global Positron settings configured successfully."
2323

24+
# Add to the beginning of workbench-entrypoint.sh (before starting the service)
25+
echo "Setting permissions to make content-workspace and immediate subdirectories writable for all users"
26+
chmod 777 /content-workspace
27+
find /content-workspace -maxdepth 1 -type d -exec chmod 777 {} \;
28+
2429
# Start Posit Workbench using supervisord (the default command for the image)
2530
echo "Starting Posit Workbench..."
2631
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf

0 commit comments

Comments
 (0)