Closed joedevivo closed 10 years ago
This works as intended, passes automated and manual tests, etc, but I'd really love to see the output format and information be better before this merges.
➜ Desktop chmod 644 cantwrite
➜ cuttlefish git:(jd-file-write-error-handling) ✗ ./cuttlefish -e ~/dev/basho/riak/rel/riak/etc -s ~/dev/basho/riak/rel/riak/lib -d ~/Desktop/cantwrite -c ~/dev/basho/riak/rel/riak/etc/riak.conf
08:52:49.454 [error] Error writing /Users/joe/Desktop/cantwrite/app.2014.02.27.08.52.49.config: permission denied
08:52:49.454 [error] Error writing /Users/joe/Desktop/cantwrite/vm.2014.02.27.08.52.49.args: permission denied
➜ cuttlefish git:(jd-file-write-error-handling) ✗ ./cuttlefish -e ~/dev/basho/riak/rel/riak/etc -s ~/dev/basho/riak/rel/riak/lib -d ~/Desktop/cantwrite/cantsub -c ~/dev/basho/riak/rel/riak/etc/riak.conf
08:55:04.136 [error] Unable to create directory /Users/joe/Desktop/cantwrite/cantsub - "permission denied". Please check permissions.
r+ :+1: 5aeb970
Fixes #128