macosx-script-boot-shutdown icon indicating copy to clipboard operation
macosx-script-boot-shutdown copied to clipboard

Problem with git push

Open dmetzler1988 opened this issue 1 year ago • 0 comments

Hi

thx a lot for your great idea and tool! Everything works fine on my MacOS Sequoia 15.1. But one of my scripts which is called from your boot-shutdown.sh includes a git push command (the push works via cronjobs and manual executions).

This error occurs:

No user exists for uid 501
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

The scutil <<< "show State:/Users/ConsoleUser" command says, that the GID is 20 and the UID is 501. So this seems to be correct for me.

Additionally: it runs under my user - everything without sudo.

@freedev Do you maybe have any ideas or experience with this?

dmetzler1988 avatar Nov 22 '24 12:11 dmetzler1988