From: Albert Lv <albert.lv-us-icloud@outlook.com>
To: Derrick Stolee <derrickstolee@github.com>,
"git@vger.kernel.org" <git@vger.kernel.org>
Subject: 回复: Git Bug Report: 'scalar register' command failed at Mac m1
Date: Mon, 7 Nov 2022 14:53:46 +0000 [thread overview]
Message-ID: <PSBPR01MB3541B7081894BAAD85118202FA3C9@PSBPR01MB3541.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <42804b53-7035-1ba0-3076-2207e63681b7@github.com>
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@github.com>
发送时间: 2022年11月7日 10:51
收件人: Albert Lv; git@vger.kernel.org
主题: 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
prev parent reply other threads:[~2022-11-07 14:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-06 13:56 Git Bug Report: 'scalar register' command failed at Mac m1 Albert Lv
2022-11-07 2:51 ` Derrick Stolee
2022-11-07 14:53 ` Albert Lv [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PSBPR01MB3541B7081894BAAD85118202FA3C9@PSBPR01MB3541.apcprd01.prod.exchangelabs.com \
--to=albert.lv-us-icloud@outlook.com \
--cc=derrickstolee@github.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).