summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2020-08-19 12:59:08 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-08-21 22:06:43 +0200
commit455015358553bade699536203a16da6a87a67fdf (patch)
treed614dcf7574080ca093d2f3719feddb0c2d1231e /doc
parente774b1f459944529b810e4bd3d8417fa13f70768 (diff)
downloadptxdist-455015358553bade699536203a16da6a87a67fdf.tar.gz
ptxdist-455015358553bade699536203a16da6a87a67fdf.tar.xz
doc: ref_make_macros: make clear that permission should be four digits
Three octal digits are not enough, we must also respect the sticky/setuid/setgid bits. Even if these are mostly implied to be 0, we should be explicit here. This should also help to prevent permission clashes when more than one packages install the same directory. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Acked-by: Alexander Dahl <ada@thorsis.com> Message-Id: <20200819105909.21441-1-rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/ref_make_macros.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ref_make_macros.rst b/doc/ref_make_macros.rst
index 6f056adf3..ae65cb940 100644
--- a/doc/ref_make_macros.rst
+++ b/doc/ref_make_macros.rst
@@ -173,7 +173,7 @@ Some of the parameters have fixed meanings:
**<GID>**
Group ID the file should use in the target's root filesystem
**<permission>**
- Permission (in an octal value) the file should use in the target's root filesystem
+ Permission (as a four-digit octal value) the file should use in the target's root filesystem
The remaining parameters vary with the use case:
@@ -384,7 +384,7 @@ The base parameters and their meanings:
**<GID>**
Group ID the file should use in the target's root filesystem
**<permission>**
- Permission (in an octal value) the file should use in the target's root filesystem
+ Permission (as a four-digit octal value) the file should use in the target's root filesystem
The parameter <destination> is meant as an absolute path
and filename in target's root filesystem. PTXdist searches for the source
@@ -581,7 +581,7 @@ The parameters and their meanings:
**<GID>**
Group ID the directories and files should use in the target's root filesystem
**<permission>**
- Permission (as an octal value) the library should use in the target's root
+ Permission (as a four-digit octal value) the library should use in the target's root
filesystem (mostly 0644)
**<libname>**
Basename of the library without any extension and path