Skip to content

fix(faustwp): make blockset files readable by the web server - #2681

Merged
josephfusco merged 3 commits into
canaryfrom
fix/1942-blockset-file-permissions
Oct 20, 2026
Merged

josephfusco merged 3 commits into
canaryfrom
fix/1942-blockset-file-permissions

Conversation

@josephfusco

Copy link
Copy Markdown
Member

Fixes #1942

Not reproduced on WP Engine itself; locally, forcing `FS_CHMOD_FILE=0600` / `FS_CHMOD_DIR=0700` and uploading a blockset left files at 600/700 before this change and 644/755 after, and it uses native `chmod()` because `WP_Filesystem_Direct::chmod()` treats a 0600 file as already 0644 and skips it.

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Assisting with tracing the permissions cause, the fix, the unit test and the local end-to-end check.

@josephfusco josephfusco added [Type] Bug An existing feature is broken [Area] WordPress Plugin Issues for the Faust.js WordPress plugin labels Oct 20, 2026
@josephfusco
josephfusco marked this pull request as ready for review October 20, 2026 15:26
@josephfusco
josephfusco requested review from a team and colinmurphy as code owners October 20, 2026 15:26
@josephfusco
josephfusco merged commit 89561a5 into canary Oct 20, 2026
16 checks passed
@josephfusco
josephfusco deleted the fix/1942-blockset-file-permissions branch October 20, 2026 15:33
@github-actions github-actions Bot mentioned this pull request Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Area] WordPress Plugin Issues for the Faust.js WordPress plugin [Type] Bug An existing feature is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blockset command requires file permissions reset in WPEngine shared hosting each time

1 participant