Skip to content

Files in acf-json should be group-writable #25

@joemaller

Description

@joemaller

When pulling changes, files in wp-content/themes/<theme>/acf-json often switch to 644 mode -rw-r--r-- . This causes a permission denied error when ACF tries to write updates to those files. Files should be 664 -rw-rw-r--

What exactly is causing those files to switch to 644?
Add group-write to umask?

Warning: file_put_contents(/var/www/html/wp-content/themes/iop-nrmp/acf-json/group_60de150bd0cd2.json): failed to open stream: Permission denied in /var/www/html/wp-content/plugins/advanced-custom-fields-pro/includes/local-json.php on line 223

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions