回复: Git Bug Report: 'scalar register' command failed at Mac m1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot, Derrick!

"ls -al ~/Library" showed that "~/Library/LaunchAgents/" was owned by root user. Then I changed the owner of the "~/Library/LaunchAgents/" to my user. After that, "scalar register" successfully worked.

Thanks,
-Albert

________________________________________
发件人: Derrick Stolee <derrickstolee@xxxxxxxxxx>
发送时间: 2022年11月7日 10:51
收件人: Albert Lv; git@xxxxxxxxxxxxxxx
主题: Re: Git Bug Report: 'scalar register' command failed at Mac m1

On 11/6/22 8:56 AM, Albert Lv wrote:
> Thank you for filling out a Git bug report!
> Please answer the following questions to help us understand your issue.
>
> What did you do before the bug happened? (Steps to reproduce your issue)
> 1. First I run 'scalar register' to register current git repo'.
> 2. Because previous command report 'Permission denied', so I run 'sudo scalar register'.
>
> What did you expect to happen? (Expected behavior)
> Scalar successfully registered
>
> What happened instead? (Actual behavior)
> Command report:
> fatal: failed to bootstrap service /Users/albert/Library/LaunchAgents/org.git-scm.git.hourly.plist
> error: could not turn on maintenance

Thanks for the report, Albert!

I suspect that you get the same problem with
"git maintenance start" which is the underlying
command that "scalar register" is running at this
point of failure.

The "~/Library/LaunchAgents/" should be owned by
your user, allowing this to work without needing
to "sudo". However, if your permissions on that
directory have changed, then the "sudo" will be
necessary. Could you double-check your permissions
by running "ls -al ~/Library"?

Thanks,
-Stolee




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux