Development Team/Almanac/Activity Bundles: Difference between revisions
→.info File Format: Document the 'license' field of activity.info. |
→activity/permissions.info: Document 'use-serial' |
||
| Line 181: | Line 181: | ||
constant-uid | constant-uid | ||
into the permissions.info file will result in your activity being launched with the same uid each time it is run. ( | into the permissions.info file will result in your activity being launched with the same uid each time it is run. (Usually each activity gets a constant gid, but each instance launched of the activity gets a unique uid. Activities based on the xulrunner codebase, however, tend to set restrictive group permissions on local files, so this option avoids this problem at the cost of less isolation between activity instances.) | ||
As of rainbow-0.7.22, the line: | |||
use-serial | |||
will add the activity UIDs to the 'uucp' group, so that the activity can access /dev/ttyUSB* devices. (See <trac>8434</trac>.) | |||
Other options which may be specified include: | Other options which may be specified include: | ||