added more permissions for created dir