jsonv.sh icon indicating copy to clipboard operation
jsonv.sh copied to clipboard

root permissions

Open mathieujobin opened this issue 8 years ago • 4 comments

the install requires root as it install it under /usr/local/bin/

but then using the command also requires root as it writes to /usr/local/bin/.jsonv/

this should not be....

mathieujobin avatar May 10 '17 15:05 mathieujobin

This is also true in my experience of installing, testing and uninstalling.

frederickjh avatar Aug 22 '17 07:08 frederickjh

+1

McNinja avatar Sep 06 '17 15:09 McNinja

This is very broken. Why write temp (garbage) into /usr/local/bin/?

yang-dev avatar Mar 12 '18 22:03 yang-dev

this piece is what seems to require replacement

https://github.com/archan937/jsonv.sh/blob/master/jsonv#L50-L62

if some of these are required for the script to work, maybe it would fit under /usr/local/share for anything temporary, it should be /tmp/ or /var/run/tmp

mathieujobin avatar Mar 13 '18 03:03 mathieujobin