From mboxrd@z Thu Jan  1 00:00:00 1970
Return-path: <ptxdist-bounces@pengutronix.de>
From: Alexander Dahl <ada@thorsis.com>
Date: Wed, 19 Aug 2020 13:04:31 +0200
Message-ID: <9927035.nfPmpIUHfi@ada>
In-Reply-To: <20200819105909.21441-1-rhi@pengutronix.de>
References: <20200819105118.16294-1-rhi@pengutronix.de>
 <20200819105909.21441-1-rhi@pengutronix.de>
Subject: Re: [ptxdist] [PATCH v2 1/2] doc: ref_make_macros: make clear that
 permission should be four digits
List-Id: PTXdist Development Mailing List <ptxdist.pengutronix.de>
List-Unsubscribe: <http://metis.pengutronix.de/cgi-bin/mailman/options/ptxdist>, 
 <mailto:ptxdist-request@pengutronix.de?subject=unsubscribe>
List-Archive: <http://metis.pengutronix.de/cgi-bin/mailman/private/ptxdist/>
List-Post: <mailto:ptxdist@pengutronix.de>
List-Help: <mailto:ptxdist-request@pengutronix.de?subject=help>
List-Subscribe: <http://metis.pengutronix.de/cgi-bin/mailman/listinfo/ptxdist>, 
 <mailto:ptxdist-request@pengutronix.de?subject=subscribe>
Reply-To: ptxdist@pengutronix.de
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ptxdist-bounces@pengutronix.de
Sender: "ptxdist" <ptxdist-bounces@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>

Hello Roland,

Am Mittwoch, 19. August 2020, 12:59:08 CEST schrieb Roland Hieber:
> 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>

Greets
Alex

> ---
>  * v2: unchanged
> 
>  doc/ref_make_macros.rst | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/ref_make_macros.rst b/doc/ref_make_macros.rst
> index 6f056adf3e7d..ae65cb9408cf 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





_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de