From f82ac840aa44bcae465809ddd687b9c979384e74 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 27 Sep 2011 06:07:53 -0700 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- .../poky-ref-manual/ref-variables.xml | 24 +++++++++++-------- 1 file 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 @@ Allows you to define your own file permissions settings table as part of your configuration for the packaging process. + For example, suppose you need a consistent set of custom permissions for + a set of groups and users across an entire work project. + It is best to do this in the packages themselves but this is not always + possible. + + By default, the Yocto Project uses the fs-perms.txt, which is located in the meta/files directory of the Yocto Project files directory. - While it is recommended that you just allow the build system to use the - default fs-perms.txt, you can create and use - your own file permissions file and then set - the FILESYSTEM_PERMS_TABLES variable to point to that - file. - - If you create your own file permissions setting table, you should place it in your layer or the distros layer. + + You define the FILESYSTEM_PERMS_TABLES variable in the - conf/local.conf file found in the Yocto Project's - build directory. + conf/local.conf file, which is found in the Yocto Project's + build directory, to point to your custom fs-perms.txt. + You can specify more than a single file permissions setting table. + The paths you specify to these files must be defined within the + BBPATH variable. For guidance on how to create your own file permissions settings table file, - see the fs-perms.txt. + examine the existing fs-perms.txt.