Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ATechGuy
· 9mo ago · 0 comments
Curious to know what made you DIY this?
Comments
[–]
ashishb
9mo ago
Tell me a better alternative that allows me to run, say, 'markdown lint', an npm package, on the current directory without giving access to the full system on Mac OS?
[–]
ATechGuy
OP
9mo ago
sandbox-exec -f curr_dir_access_profile.sb markdownlint
[–]
ashishb
9mo ago
So you have to install npm package markdownlint on your machine and let it run it's potentially dangerous postinstall step?
[–]
ATechGuy
OP
9mo ago
You can customize curr_dir_access_profile.sb to block access to network/fs/etc. Why is this not enough?