Skip to content

wrong file permissions on Haiku #108

@manxorist

Description

@manxorist

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions