Improved deletion dealing with permission issues