Add comment for permission and fix wrong format variable

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)