fix(kugetsu): call fix_session_permissions before forking #109
Reference in New Issue
Block a user
Delete Branch "fix/prefork-permissions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Problem
The base session was created without proper external_directory permissions, causing forked sessions to fail when accessing worktrees.
Solution
Call fix_session_permissions BEFORE forking to ensure base has correct permissions.
Add debug output to see forked session directory and permissions.
Testing
kugetsu start --debug git.fbrns.co/shoko/jigaido#2 "message"
lgtm