Fixed bugs with chowning directory for hidden share