diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-09-27 06:07:53 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-04 13:46:38 +0100 |
| commit | 78ddcae27ff474ffc9867a15851734852f74db4c (patch) | |
| tree | 96f329354974dbfe51f257241a8296ed9bd08518 | |
| parent | 3790c5580ac0db1f1308ba414c4f3a4e267125cf (diff) | |
| download | poky-78ddcae27ff474ffc9867a15851734852f74db4c.tar.gz | |
documentation/poky-ref-manual/ref-variables.xml: edits to FILESYSTEM_PERMS_TABLES.
Some minor re-wordings to give some context on how to use these special
files and the variable to point to them.
(From yocto-docs rev: 4482b42f4a224bada7a0fa5fe4821a753ba55d80)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | documentation/poky-ref-manual/ref-variables.xml | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index dbc343c8fb..625cd3eb4b 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml | |||
| @@ -411,25 +411,29 @@ | |||
| 411 | <glossdef> | 411 | <glossdef> |
| 412 | <para>Allows you to define your own file permissions settings table as part of | 412 | <para>Allows you to define your own file permissions settings table as part of |
| 413 | your configuration for the packaging process. | 413 | your configuration for the packaging process. |
| 414 | For example, suppose you need a consistent set of custom permissions for | ||
| 415 | a set of groups and users across an entire work project. | ||
| 416 | It is best to do this in the packages themselves but this is not always | ||
| 417 | possible. | ||
| 418 | </para> | ||
| 419 | <para> | ||
| 414 | By default, the Yocto Project uses the <filename>fs-perms.txt</filename>, which | 420 | By default, the Yocto Project uses the <filename>fs-perms.txt</filename>, which |
| 415 | is located in the <filename>meta/files</filename> directory of the Yocto Project | 421 | is located in the <filename>meta/files</filename> directory of the Yocto Project |
| 416 | files directory. | 422 | files directory. |
| 417 | While it is recommended that you just allow the build system to use the | ||
| 418 | default <filename>fs-perms.txt</filename>, you can create and use | ||
| 419 | your own file permissions file and then set | ||
| 420 | the <filename>FILESYSTEM_PERMS_TABLES</filename> variable to point to that | ||
| 421 | file. | ||
| 422 | </para> | ||
| 423 | <para> | ||
| 424 | If you create your own file permissions setting table, you should place it in your | 423 | If you create your own file permissions setting table, you should place it in your |
| 425 | layer or the distros layer. | 424 | layer or the distros layer. |
| 425 | </para> | ||
| 426 | <para> | ||
| 426 | You define the <filename>FILESYSTEM_PERMS_TABLES</filename> variable in the | 427 | You define the <filename>FILESYSTEM_PERMS_TABLES</filename> variable in the |
| 427 | <filename>conf/local.conf</filename> file found in the Yocto Project's | 428 | <filename>conf/local.conf</filename> file, which is found in the Yocto Project's |
| 428 | build directory. | 429 | build directory, to point to your custom <filename>fs-perms.txt</filename>. |
| 430 | You can specify more than a single file permissions setting table. | ||
| 431 | The paths you specify to these files must be defined within the | ||
| 432 | <filename>BBPATH</filename> variable. | ||
| 429 | </para> | 433 | </para> |
| 430 | <para> | 434 | <para> |
| 431 | For guidance on how to create your own file permissions settings table file, | 435 | For guidance on how to create your own file permissions settings table file, |
| 432 | see the <filename>fs-perms.txt</filename>. | 436 | examine the existing <filename>fs-perms.txt</filename>. |
| 433 | </para> | 437 | </para> |
| 434 | </glossdef> | 438 | </glossdef> |
| 435 | </glossentry> | 439 | </glossentry> |
