Skip to content

Commit

Permalink
Prevent permissions error on rancher plist file (#101)
Browse files Browse the repository at this point in the history
Fixes:
```
Failed to load the deployment profile
Error reading file /Users/kevin.maldonado/Library/Preferences/io.rancherdesktop.profile.defaults.plist: Error: EACCES: permission denied, open '/Users/kevin.maldonado/Library/Preferences/io.rancherdesktop.profile.defaults.plist'
```
  • Loading branch information
pb-dod authored Aug 13, 2024
1 parent 6c6bbd1 commit de7b522
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.60
0.1.61
2 changes: 1 addition & 1 deletion formula/ih-core.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class IhCore < Formula
VERSION="0.1.60"
VERSION="0.1.61"
desc "Brew formula for installing core tools used at Included Health engineering."
homepage "https://github.com/ConsultingMD/homebrew-ih-public"
license "CC BY-NC-ND 4.0"
Expand Down
2 changes: 2 additions & 0 deletions lib/core/rancher/step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ function ih::setup::core.rancher::install() {
echo "A configuration file for Rancher Desktop will be copied to your system"
echo "You may be required to enter your password"
sudo cp "$TEMP_PLIST_DST" "$PLIST_DST"
sudo chown $USER:staff "$PLIST_DST"
sudo chmod 644 "$PLIST_DST"

# Check if Rancher was installed manually
brew list rancher >/dev/null 2>&1
Expand Down

0 comments on commit de7b522

Please sign in to comment.