change permissions of .rc files