Correctly set default permissions

Signed-off-by: Chris Sanders <zidane@outlook.com>