Re: [rt.cpan.org #95624] cpan as root cannot install Inline without force

[email protected] Wed, 14 May 2014 18:16:40 +1000
Newsgroups perl.inline
Message-ID <3E3A8C698DCC4D3F8833FEA499F4E4D8@OwnerPC311012>

-----Original Message----- 
From: Reini Urban

>> It makes sense that this happens, because of course /usr/bin/ is writable
>> by root.
>
> Thanks.
> We need to skip those TAINT checks if run as root or Windows 
> Administrator.

You mean that we have 08taint.t check to see whether it's being run as 
root/administrator ... and if it is then it skips all tests ?
That sounds ok to me (assuming it's possible to reliably detect the case).

Is it *guaranteed* that Inline won't work under -T when run as root/admin ?
Or is it merely *possible* that Inline won't work under -T when run as 
root/admin ?
(The answer has a bearing on the SKIP message that we would present, and 
upon the modification we would make to the TAINT documentation that we 
provide.)

Patch welcome.

Does anyone actually use -T and Inline ?
If so, do they use it safely ?

Cheers,
Rob