fix(secubox-app-reporter): Set 644 permissions on generated reports
Reports were created with 600 permissions, preventing web access. Now explicitly sets chmod 644 after file generation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
e0856f6202
commit
dbcce61081
@ -136,6 +136,9 @@ generate_dev_report() {
|
||||
"$health_score" "$history_entries" "$wip_entries" "$roadmap_data"
|
||||
fi
|
||||
|
||||
# Ensure web-readable permissions
|
||||
chmod 644 "$output_file"
|
||||
|
||||
log_ok "Generated: $output_file"
|
||||
echo "$output_file"
|
||||
}
|
||||
@ -199,6 +202,9 @@ generate_services_report() {
|
||||
"$tor_services" "$dns_services" "$mesh_services"
|
||||
fi
|
||||
|
||||
# Ensure web-readable permissions
|
||||
chmod 644 "$output_file"
|
||||
|
||||
log_ok "Generated: $output_file"
|
||||
echo "$output_file"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user