-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Syncing files to the Haiku VM results in them having uid 1001 and gid 118. Git, however, expects them to have user:root, and displays a fatal warning:
fatal: detected dubious ownership in repository at '/boot/home/home/runner/work/gha-test/gha-test'
To add an exception for this directory, call:
git config --global --add safe.directory /boot/home/home/runner/work/gha-test/gha-test
Instead of the work-around suggested by git, I think actually using the correct permissions would be a preferable solution. This can be achieved by chown -R $(id -u):$(id -g) $(pwd) (because the Haiku user has root powers, as Haiku is a single-user system), or maybe also by tweaking the rsync command line that is used for syncing (I have not looked into this).
See this config and run for the error.
see #104 (comment) for previous discussion
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels