The routine does type checking anyway, plus, to be uniform
with other APIs.
Fixes: http://tracker.ceph.com/issues/42923
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit
bbbfb44453f204286a8ff312349d42afde5fced6)
if ret < 0:
raise make_ex(ret, "error in chmod {}".format(path.decode('utf-8')))
- def chown(self, path, int uid, int gid):
+ def chown(self, path, uid, gid):
"""
Change directory ownership
:param path: the path of the directory to change.