change permission of rc files and pachage.sh