#!/bin/bash

ncache="/var/mobile/Library/CSources2"
inbox="/private/var/mobile/Library/Application Support/Containers/com.dirtybeans.CSources2"
clrsch=/private/var/mobile/Library/Preferences/CSources2"

#***********************************************************************************
# Check perm
if [[ -f "$ncache" ]]; then
	chown -R mobile:mobile "$ncache"
fi
if [[ -f "$inbox" ]]; then
	chown -R mobile:mobile "$inbox"
fi
if [[ -f "$clrsch" ]]; then
	chown -R mobile:mobile "$clrsch"
fi
#***********************************************************************************

exit 0
