NMAAHC / nmaahcmm

NMAAHC mm scripts
7 stars 8 forks source link

gmconfig error #55

Open mingosthename opened 1 year ago

mingosthename commented 1 year ago

We got new macs in 2054 and gmconfig is only working using sudo. Is there a way to fix this. See below for outputs:

/Users/medialab ≈:≈ makegm mkdir: /20230202: Read-only file system Failed to create /20230202 because there is no Great Migration directory at

/Users/medialab ≈:≈ gmconfig
/usr/local/bin/gmconfig: line 309: /usr/local/bin/gm.conf: Permission denied

/Users/medialab ≈:≈ makegm mkdir: /20230202: Read-only file system Failed to create /20230202 because there is no Great Migration directory at

/Users/medialab ≈:≈ mkdir usage: mkdir [-pv] [-m mode] directory_name ...

/Users/medialab ≈:≈ mkdir gmconfig

/Users/medialab ≈:≈ ls -l /usr/local/bin/gm.conf lrwxr-xr-x 1 medialab admin 36 Feb 2 12:09 /usr/local/bin/gm.conf -> ../Cellar/nmaahcmm/0.0.7/bin/gm.conf

/Users/medialab ≈:≈ nmaahcmmfunctions zsh: permission denied: nmaahcmmfunctions

/Users/medialab ≈:≈ sudo gmconfig Password:

/Users/medialab ≈:≈ makegm Success! Created your Great Migration directories at /Volumes/xUtility/20230202_Ming_Lauren

BleakleyMcD commented 1 year ago

@mingosthename until the underlying problem is fixed, run chmod 777 /usr/local/bin/gm.conf that should fix the problem for now. it will reset if you reinstall nmaahcmm, so run brewUp and then nmaahcmm first