beads/cmd/bd/setup
Steve Yegge b6870de7f8 Fix: Change file permissions from 0644 to 0600 for security
The gosec linter (G302) requires file permissions to be 0600 or less
for security. Updated atomicWriteFile to use 0600 (owner read/write only)
instead of 0644 (world readable).

This affects config files written by bd setup commands (cursor, aider,
claude), making them only accessible by the owner.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 20:11:52 -08:00
..
aider.go fix: Resolve CI failures - lint errors and coverage threshold 2025-11-23 18:02:54 -08:00
claude.go fix: Resolve CI failures - lint errors and coverage threshold 2025-11-23 18:02:54 -08:00
claude_test.go feat: add context optimization features for AI agents (#297) 2025-11-12 10:48:36 -08:00
constants.go feat: add context optimization features for AI agents (#297) 2025-11-12 10:48:36 -08:00
cursor.go fix: Resolve CI failures - lint errors and coverage threshold 2025-11-23 18:02:54 -08:00
utils.go Fix: Change file permissions from 0644 to 0600 for security 2025-11-23 20:11:52 -08:00
utils_test.go Fix: Change file permissions from 0644 to 0600 for security 2025-11-23 20:11:52 -08:00