Ibotta / sopstool

SOPS multi-file wrapper
Apache License 2.0
38 stars 4 forks source link

Install script deletes other files in /tmp #37

Closed blimmer closed 5 years ago

blimmer commented 5 years ago

Current Behavior

curl https://raw.githubusercontent.com/Ibotta/sopstool/master/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1947  100  1947    0     0    802      0  0:00:02  0:00:02 --:--:--   802
Ibotta/sopstool info checking GitHub for latest tag
Ibotta/sopstool info found version: 0.3.3 for v0.3.3/darwin/amd64
Ibotta/sopstool info installed ./bin/sopstool
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_56536/Microsoft_AutoUpdate_4.5.18110402_Updater.pkg: Operation not permitted
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_56536: Directory not empty
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_68972/Microsoft_AutoUpdate_4.2.18081201_Updater.pkg: Operation not permitted
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_68972: Directory not empty
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_46114/Microsoft_AutoUpdate_4.10.19041401_Updater.pkg: Operation not permitted
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_46114: Directory not empty
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_93231/Microsoft_AutoUpdate_4.7.19011500_Updater.pkg: Operation not permitted
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_93231: Directory not empty
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_79259/Microsoft_AutoUpdate_4.12.19060901_Updater.pkg: Operation not permitted
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_79259: Directory not empty
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_71209/Microsoft_AutoUpdate_4.6.18120801_Updater.pkg: Operation not permitted
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_71209: Directory not empty
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_33437/Microsoft_AutoUpdate_4.3.18090901_Updater.pkg: Operation not permitted
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_33437: Directory not empty
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_615/Microsoft_AutoUpdate_4.4.18101400_Updater.pkg: Operation not permitted
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_615: Directory not empty
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_44823/Microsoft_AutoUpdate_4.8.19022003_Updater.pkg: Operation not permitted
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T//MSau_44823: Directory not empty
rm: /var/folders/jy/3fbjh0t51q9chp0b4mxpc9ch0000gn/T/: Operation not permitted

Expected Behavior

I expect to not get rm warning on a normal install.

onyxraven commented 5 years ago

fixed in https://github.com/Ibotta/sopstool/pull/38