cleanup permissions files