proper permissions on libraries