Can't install update in App Store
I can't update any applications in App Store.
I have 5 updates. One is Command Line Tools for Xcode 8.3. The others are iMovie, Pages, Numbers, and Keynote.
When I try to update Command Line Tools (macOS Sierra version 10.12) for Xcode 8.3, I get:
An error has occurred
The operation couldn't be completed. Permission denied(13)
When I try to update one of the other applications, I get
We could not complete your update.
Unknown Error.
I have tried rebooting. I have looked in console but I don't see any errors related to App Store. I do see the following error repeated every so often, not sure if it is related but it has permissions in it:
error 11:50:24.006404 -0400 AssetCache Built-in Caching Server version 170 started
default 11:50:24.087473 -0400 AssetCache Server GUID is 189DE659-4C5E-486E-ABF6-A2A11AC4FCE5
error 11:50:24.158929 -0400 AssetCache error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///Library/Caches/com.apple.AssetCache/AssetInfo.db options:{
NSInferMappingModelAutomaticallyOption = 1;
NSMigratePersistentStoresAutomaticallyOption = 1;
} ... returned error Error Domain=NSCocoaErrorDomain Code=257 "The file couldn’t be opened because you don’t have permission to view it." with userInfo dictionary {
}
error 11:50:24.159136 -0400 AssetCache Got error Error Domain=NSCocoaErrorDomain Code=257 "The file couldn’t be opened because you don’t have permission to view it." adding persistent store for /Library/Caches/com.apple.AssetCache/AssetInfo.db
error 11:50:24.159376 -0400 AssetCache Resetting cache directory /Library/Caches/com.apple.AssetCache
error 11:50:24.207404 -0400 AssetCache Error removing /Library/Caches/com.apple.AssetCache: “com.apple.AssetCache” couldn’t be removed because you don’t have permission to access it.
Could not create download folder - /var/folders/g7/npdlz6d55gn_q2y02rwwdgs40000gn/C/com.apple.appstore/417375580 - Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “417375580” in the folder “com.apple.appstore”." UserInfo={NSFilePath=/var/folders/g7/npdlz6d55gn_q2y02rwwdgs40000gn/C/com.apple .appstore/417375580, NSUnderlyingError=0x610000258bd0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
MacBook Pro with Retina display, macOS Sierra (10.12.6)