Недавно, когда я запускаю Tmux на своем Mac (с Powerline) в iTerm, я получаю сообщение об ошибке git: Permission denied в доступе». Я также получаю ошибку снова и снова, когда я печатаю в Vim (также используя Powerline). Как вы можете сказать, тема, похоже, Powerline во всем этом. Я удалил и переустановил Powerline и все еще получаю ошибку.

Прежде чем я скажу: «Винт, я закончил с помощью Powerline», мне было интересно, есть ли способ отследить ошибку, чтобы точно узнать, что вызывает Git в каталоге / файле, где это не разрешено?

PS Я также запускал Восстановление прав доступа в моей системе с помощью Дисковой утилиты.

Изменить: Я полностью удалил Powerline и до сих пор вижу ту же проблему. Когда я запускаю Tmux (или открываю новую панель в Tmux) или сохраняю файл в Vim, я получаю сообщение об ошибке выше.

Edit2: это то, что я вижу, когда я открываю терминал и запускаю dmesg

git: Permission denied
git: Permission denied
~/Projects › sudo dmesg | tail -n 20
Password:
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
fsevents: watcher dbfseventsd (pid: 10879) - Using /dev/fsevents directly is unsupported.  Migrate to FSEventsFramework
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
SerialATAPI device reconfiguration did not complete successfully.  (failedCommandInfo = 0x1)
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.mismatch] [com.apple.message.signature 1000] [com.apple.message.signature2 53a18aae61685cc356b171ce37cc504048ed45a1] [com.apple.message.signature3 b928c695e1e1a867d5fc392eb8f09e460f3139af] [com.apple.message.summarize YES]
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 27386] [com.apple.message.signature3 GoogleSoftwareUp] [com.apple.message.summarize YES]
CODE SIGNING: cs_invalid_page(0x1000): p=27386[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page
smb1_smb_negotiate: Support for the server XRX9C934E142236 has been deprecated (PreXP), disconnecting

1 ответ1

0

В конечном итоге я обнаружил, что проблема связана с установленной системой Git. Когда я установил Git с Homebrew и перегрузил систему Git с Homebrew Git, я перестал получать ошибки.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .