I notice that when I launch Capture from the SpringBoard, it runs as user mobile:
mirex:/Applications/Capture.app root# ps -ef | grep CaptureWhen I log in as mobile and run Capture from the command line, it logs some errors to stdout:
501 660 622 0 0:00.22 ?? 0:00.97 /Applications/Capture.app/Capture --launchedFromSB
0 670 632 0 0:00.01 ttyp0 0:00.01 grep Capture
mirex:/Applications/Capture.app root# grep 501 /etc/passwd
mobile:*:501:501:Mobile User:/var/mobile:/bin/sh
mirex:/Applications/Capture.app root#
mirex:~ mobile$ cd /Applications/Capture.app/CFURLCreateDataAndPropertiesFromResource error -10 is kCFURLUnknownError, which is interesting but not very helpful.
mirex:/Applications/Capture.app mobile$ ./Capture
2008-06-28 10:41:52.185 Capture[681:d03] MainView initWithFrame
2008-06-28 10:41:52.212 Capture[681:d03] MainView initWithFrame end
2008-06-28 10:41:52.526 Capture[681:d03] from: (null), to: (null)
launchctl: CFURLWriteDataAndPropertiesToResource(/Library/LaunchDaemons/com.digitalagua.capture.plist) failed: -10
launchctl: CFURLCreateDataAndPropertiesFromResource(/var/mobile/Library) failed: -10
launchctl: propertyList is NULL
launchctl: no plist was returned for: /var/mobile/Library
launchctl: no plist was returned for: /var/mobile/Library
launchctl: CFURLCreateDataAndPropertiesFromResource(/var/mobile/Media) failed: -10
launchctl: propertyList is NULL
launchctl: no plist was returned for: /var/mobile/Media
launchctl: no plist was returned for: /var/mobile/Media
mirex:/Applications/Capture.app mobile$
My work around is to log in as root and run Capture from the command line. Running as root, it has no problems.
I have tried both tweaking file permissions and reinstalling Capture to no avail. Have you solved this problem? How?
0 comments:
Post a Comment