Fixing permissions API so that it returns an error rather than 500 when path is not specified.
Authored by: Mark Ramm 2010-05-21
Parent(s): [77cfe3]
Child(ren): [9c9796]