everzet/capifony — pull request #159 by baikunz (2012-07-15 19:46:55+00:00)
Title: Add ownership check before changing permissions

I finalized the ownership test before processing the change of permissions. Do you know if the stat command is supported on every *nix systems ? It seems like it's not working the same way on my OSX system.

Btw I don't try to change permissions if use_sudo is set to false because even if the user is owning the file it's not allowed to change owner without root access.