- Enhanced fix_permissions() with umask 022 and parent dir traversal
- Added chmod 644 immediately after file write in upload_file
- Added repair_site RPC method for troubleshooting:
- Fixes file/dir permissions
- Creates missing index.html
- Reloads uhttpd and HAProxy
Usage: ubus call luci.metablogizer repair_site '{"id":"site_sliders"}'
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| secubox | ||