[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845715: Required targets must not write outside of the source package tree



control: tag -1 -patch +pending

Hello,

On Sat 03 Nov 2018 at 01:07PM -0700, Russ Allbery wrote:

> One minor wording nit, seconded either way:
>
>> +Required targets must not attempt to write outside of the unpacked
>> +source package tree. An exception to this rule is the use of
>> +``TMPDIR`` (or ``/tmp`` if that is not set) which is permitted as long
>> +as temporary files are deleted by the end of the target, and not
>> +reused by subsequent execution of the target.  This restriction is
>
> How about:
>
>     As an exception, required targets may write to the directory specified
>     by the ``TMPDIR`` environment variable (or ``/tmp`` if that is not
>     set), provided that files created in that directory are deleted before
>     the target completes and are not reused by subsequent executions of
>     the target.

Good, thanks.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


Reply to: