Skip to content

Commit 26ec244

Browse files
iglocskaclaude
andcommitted
fix: [ci] Move chmod +x permissions fix before starting workers
The www-data user needs traverse permissions on parent directories to access the MISP dir. This must happen before supervisor spawns workers as www-data. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a3f16c0 commit 26ec244

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,13 @@ jobs:
247247
- name: Verify Redis is ready
248248
run: $MISP_DIR/app/Console/cake Admin redisReady
249249

250+
- name: Fix permissions
251+
run: |
252+
sudo chmod +x /home/runner/work
253+
sudo chmod +x /home/runner
254+
sudo chmod +x /home
255+
sudo chmod +x /
256+
250257
- name: Start background workers
251258
run: |
252259
sudo pip install supervisor
@@ -265,13 +272,6 @@ jobs:
265272
- name: Turn MISP live
266273
run: $MISP_DIR/app/Console/cake Admin live 1
267274

268-
- name: Fix permissions
269-
run: |
270-
sudo chmod +x /home/runner/work
271-
sudo chmod +x /home/runner
272-
sudo chmod +x /home
273-
sudo chmod +x /
274-
275275
- name: Verify MISP is responding
276276
run: |
277277
sudo systemctl status apache2 --no-pager -l

0 commit comments

Comments
 (0)