Fixing sh permission