[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] tftp: introduce CONFIG_FEATURE_TFTP_UMASK
From: Peter Korsgaard <peter () korsgaard ! com>
Date: 2019-06-11 8:36:25
Message-ID: 87ftogbjsm.fsf () dell ! be ! 48ers ! dk
[Download RAW message or body]
>>>>> "Markus" == Markus Mayer <mmayer@broadcom.com> writes:
> On Sun, 9 Jun 2019 at 00:54, Denys Vlasenko <vda.linux@googlemail.com> wrote:
>>
>> Imagining myself in the situation where I need to download
>> executables over tftp, the first solution which comes to mind
>> is to just chmod them after download.
>>
>> Why that does not work for you?
> I am working on a reference root file system that is used internally
> and possibly also by customers. Unbeknownst to me, for years we had an
> internal hack to TFTP that caused the TFTP client to apply execute
> permissions to transferred files. Presumably this was a user request
> at some point.
> A recent root file system modernization did away with this TFTP
> customization, which promptly triggered a regression being filed
> against TFTP. Since I had to come up with a new way to apply our old
> patch, I figured I'd share it with the community in case it is useful
> to others.
Why not just add a shell script wrapper that does the chmod after tftp
get?
--
Bye, Peter Korsgaard
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic