fn: sgnd_need_writable
Purpose
Require that the specified path is writable to the current process.
Arguments
$1— Path to test.
Side effects
Exits the process on failure.
Returns
- 0 if writable; exits with status 1 otherwise.
Usage
sgnd_need_writable "/tmp"
