Fixing a few permission warnings