Commit ae49fd0
authored
🐛 Fixed theme uploads freezing when folders are read-only (#28898)
ref https://linear.app/ghost/issue/ONC-1838
ref TryGhost/framework#761
ref TryGhost/gscan#853
Theme uploads could hang without any visible error when a zip contained
folders without sufficient write permissions. GScan needs to write into
those folders while extracting and validating the theme.
Updated `gscan` to include the permission handling fix so missing
permissions are restored during upload and the theme can be installed
successfully instead of leaving the UI frozen.1 parent ccdb8e3 commit ae49fd0
2 files changed
Lines changed: 156 additions & 79 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
0 commit comments