I don't understand how the activity.info file can have these permissions. The Zip file does not support set permissions of the files.
Gonzalo On Tue, Aug 31, 2010 at 9:02 PM, Gary Martin <[email protected]>wrote: > Hi Mikus, > > On 31 Aug 2010, at 23:46, Mikus Grinbergs wrote: > > >> FWIW I've tested on XO-1s running 0.84.16 and 0.88.1 and Paint-28 runs > great, > >> however running on the original XO-1 0.82.1 (OLPC build 767) it fails to > start > >> with some obscure Rainbow related exception that leads to a > "MalformedBundleException: > >> No activity.info file" which is a spurious error message as looking in > the bundle > >> the activity.info file is installed and looks just fine. > > > > Often an "MalformedBundleException" message results from Linux file (or > > directory) permissions not allowing access to an activity's > > activity.info file. That is the case here - the Linux permissions on > > Paint.activity/activity/activity.info are '-rw-------', which permits > > access only by userid 500. [Under Rainbow, when that Activity runs it > > is under userid 1000-something.] I changed the permissions on that file > > to '-rw-r--r--', and Paint-28 ran as it should on a build-802 system. > > Fantastic, well spotted, thanks! I did have a quick look at owner and group > but didn't notice the activity.info had odd rw permissions. > > I've just run: > > sudo chmod g+rw ~/Activities/Paint.activity/activity/activity.info > sudo chmod o+r ~/Activities/Paint.activity/activity/activity.info > > ...to match what is else where, and Paint-28 now launches just fine under > 0.82.1 build 767 on an XO-1 now. Gonzalo: No need to add the MANIFEST, but > thanks for the .xo bundle with it to test! > > Regards, > --Gary > > > mikus > > > > -- Gonzalo Odiard Responsable de Desarrollo (pasando la antorcha...) Sistemas Australes
_______________________________________________ Testing mailing list [email protected] http://lists.laptop.org/listinfo/testing
