chmod(), chown() and chgrp() must consider current user and current owner of file/directoy to change, fixes #53