markchalloner / git-semver

Git plugin for Semantic Versioning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

new install, update script, Permission denied

zeroasterisk opened this issue · comments

$ 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

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)

@zeroasterisk. Thanks for the report.