[chrome] 업데이트를 확인하는 동안 오류가 발생했습니다. 9(오류 코드: 0).

개요

Mac에서 구글 크롬 설치 후 업데이트를 시도할 때 오류 발생

 

 

에러 로그

로그파일 : /Users/Your_Account_Name/Library/Application Support/Google/GoogleUpdater/updater.log

[3226:259:0919/005741.113215:VERBOSE1:updater.cc(331)] Version: 129.0.6651.0, opt, 64 bits, command line: /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/129.0.6668.59/Helpers/GoogleUpdater.app/Contents/MacOS/GoogleUpdater –install –enable-logging –vmodule=*/components/update_client/*=2,*/chrome/updater/*=2
[3226:259:0919/005741.114284:VERBOSE1:updater.cc(333)] OS version: 15.0.0, System uptime (seconds): 1933, parent pid: 2881
[3228:259:0919/005741.130649:VERBOSE1:updater.cc(331)] Version: 129.0.6651.0, opt, 64 bits, command line: /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/129.0.6668.59/Helpers/GoogleUpdater.app/Contents/MacOS/GoogleUpdater –crash-handler –database=/Users/Your_Account_Name/Library/Application Support/Google/GoogleUpdater/129.0.6651.0/Crashpad –url=https://clients2.google.com/cr/report –annotation=prod=Update4 –annotation=ver=129.0.6651.0 –handshake-fd=5 –enable-logging –vmodule=*/components/update_client/*=2,*/chrome/updater/*=2
[3228:259:0919/005741.131483:VERBOSE1:updater.cc(333)] OS version: 15.0.0, System uptime (seconds): 1933, parent pid: 1
[3226:259:0919/005741.135794:VERBOSE1:crash_reporter.cc(121)] Crash handler launched and ready.
[3226:259:0919/005741.136759:VERBOSE1:crash_client.cc(106)] Found 0 completed crash reports
[3226:259:0919/005741.136872:VERBOSE1:crash_client.cc(124)] Found 0 pending crash reports
[3226:259:0919/005741.137786:VERBOSE1:updater.cc(101)] Crash reporting initialized.
[3226:259:0919/005741.140023:VERBOSE1:update_service_proxy_posix.cc(230)] GetVersion
[3226:259:0919/005741.140056:VERBOSE1:update_service_proxy_posix.cc(435)] EnsureConnecting
[3226:12291:0919/005741.140940:VERBOSE1:update_service_proxy_posix.cc(202)] Failed to connect to UpdateService remote. No updater exists.
[3226:259:0919/005741.140970:VERBOSE1:update_service_proxy_posix.cc(395)] OnConnected
[3226:259:0919/005741.141018:VERBOSE1:update_service_proxy_posix.cc(230)] GetVersion
[3226:259:0919/005741.141034:VERBOSE1:update_service_proxy_posix.cc(435)] EnsureConnecting
[3226:12291:0919/005741.141161:VERBOSE1:update_service_proxy_posix.cc(202)] Failed to connect to UpdateService remote. No updater exists.
[3226:259:0919/005741.141238:VERBOSE1:update_service_proxy_posix.cc(395)] OnConnected
[3226:259:0919/005741.141259:VERBOSE1:update_service_proxy_posix.cc(230)] GetVersion
[3226:259:0919/005741.141272:VERBOSE1:update_service_proxy_posix.cc(435)] EnsureConnecting
[3226:12291:0919/005741.141369:VERBOSE1:update_service_proxy_posix.cc(202)] Failed to connect to UpdateService remote. No updater exists.
[3226:259:0919/005741.141389:VERBOSE1:update_service_proxy_posix.cc(395)] OnConnected
[3226:12291:0919/005741.172233:INFO:mac_util.mm(64)] Failed to remove quarantine attributes from /Users/Your_Account_Name/Library/Application Support/Google/GoogleUpdater
[3226:12291:0919/005741.183181:VERBOSE1:setup.mm(243)] PrepareToRunBundle failed. Gatekeeper may prompt.
[3226:12291:0919/005741.189337:VERBOSE2:setup.mm(167)] launchctl bootout exited: 5, stdout:
[3226:12291:0919/005741.216836:VERBOSE1:setup.mm(195)] Failed to write file:///Users/Your_Account_Name/Library/LaunchAgents/com.google.GoogleUpdater.wake.plist error Error Domain=NSCocoaErrorDomain Code=513 “You don’t have permission to save the file “com.google.GoogleUpdater.wake.plist” in the folder “LaunchAgents”.” UserInfo={NSURL=file:///Users/Your_Account_Name/Library/LaunchAgents/com.google.GoogleUpdater.wake.plist, NSUserStringVariant=Folder, NSFilePath=/Users/Your_Account_Name/Library/LaunchAgents/com.google.GoogleUpdater.wake.plist, NSUnderlyingError=0x12000012520 {Error Domain=NSPOSIXErrorDomain Code=13 “Permission denied”}}
[3226:259:0919/005741.222117:VERBOSE1:update_service_proxy_posix.cc(430)] ~UpdateServiceProxyImpl
[3226:259:0919/005741.222319:VERBOSE1:updater.cc(338)] UpdaterMain (–install) returned 27.
[3228:259:0919/005741.223020:VERBOSE1:updater.cc(338)] UpdaterMain (–crash-handler) returned 0.

 

 

점검

 

로그 중 검토가 필요한 내용


[3226:12291:0919/005741.216836:VERBOSE1:setup.mm(195)] Failed to write file:///Users/Your_Account_Name/Library/LaunchAgents/com.google.GoogleUpdater.wake.plist error Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “com.google.GoogleUpdater.wake.plist” in the folder “LaunchAgents”." UserInfo={NSURL=file:///Users/Your_Account_Name/Library/LaunchAgents/com.google.GoogleUpdater.wake.plist, NSUserStringVariant=Folder, NSFilePath=/Users/Your_Account_Name/Library/LaunchAgents/com.google.GoogleUpdater.wake.plist, NSUnderlyingError=0x12000012520 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}

내용 : /Users/Your_Account_Name/Library/LaunchAgents 디렉토리에 “쓰기” 권한이 없음

 

디렉토리 확인


cd /Users/Your_Account_Name/Library
Your_Account_Name@KENNETHs-MacBookAir Library % ls -al|grep Laun
drwxr-xr-x 3 root staff 96 4 28 2021 LaunchAgents

  • 크롬 업데이트를 위해 사용하는 LaunchAgents 의 권한 : “root”
  • 같은 위치의 다른 디렉토리의 권한 : “Your_Account_Name” (본인이 사용하는 ID)

 

 

처리


Your_Account_Name@KENNETHs-MacBookAir Library % chown Your_Account_Name LaunchAgents
chown: LaunchAgents: Operation not permitted

LaunchAgents 디렉토리의 권한이 “root”이기 때문에
수행한 명령이 처리되지 못함

 


Your_Account_Name@KENNETHs-MacBookAir Library % sudo -s
Password:

root@KENNETHs-MacBookAir Library # chown Your_Account_Name LaunchAgents
root@KENNETHs-MacBookAir Library # ls -al|grep Laun
drwxr-xr-x 3 Your_Account_Name staff 96 9 19 01:01 LaunchAgents

sudo 를 이용하여 root 권한을 획득 후
Launch Agent 디렉토리의 권한을 “Your_Account_Name” 으로 변경할 수 있게됨

 

 

결과 확인

에러 메세지는 없어지고 정상 수행

 

About KENNETH 19694 Articles
지락문화예술공작단

Be the first to comment

Leave a Reply

Your email address will not be published.


*


이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.