new install, update script, Permission denied
zeroasterisk opened this issue · comments
alan blount commented
$ git semver get
/Users/alan/bin/git-semver: line 165: /Users/alan/.git-semver/update: Permission denied
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
$ ll ~/.git-semver
total 4.0K
-rw-r--r-- 1 root staff 185 Feb 20 12:43 config
alan blount commented
fixed by doing
sudo chown -R `whoami` ~/.git-semver/
touch ~/.git-semver/update
Leaving issue open for you to fix installation script to handle this (I think it's the sudo install script, not setting user perms on home dir folder)
Mark Challoner commented
@zeroasterisk. Thanks for the report.