LaunchDaemons file is not running
i am developing an iphone jailbreak application
in which i am trying to track iphone via its GPS facility .
so for this i made an unix executable file that simply gather GPS information and make an XML file based on GPS information and send this XML data
to my web server.
and to keep running this app all the time i also make an plist file that call unix executable file.
i know , this required that iphone should be jailbrocken so i made an cydia repository like this
--------------------------------------------------------------------------------------[H Code:
+ MyGPSTest
+ usr
+ libexec
+ GPSTest
- TestGPS
- Info.plist
+ DEBIAN
- control
+ System
+ Library
+ LaunchDaemons
- com.MyCompany.GPS.plist
----------------------------------------------------------------------------------------
and when i install my .deb file in iphone via ssh using
dpkg -i MyTest.deb
then all files are copied into there associated directory , but in
System/Library/LaunchDaemons/com.MyCompany.GPS.plist
having mobile as owner and mobile as group
and when i restart my iphone then my plist file in LaunchDaemons did not work becouse my plist has mobile as owner and group .
and when i changed manually owner as root and group as wheel and after restart my plist works fine
so what should i do to solve my problem?