coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] tee: Add -q, --quiet option to not write to stdout


From: Bernhard Voelker
Subject: Re: [PATCH] tee: Add -q, --quiet option to not write to stdout
Date: Thu, 21 Jan 2021 22:02:17 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

On 1/21/21 7:00 PM, Alejandro Colomar (man-pages) wrote:
> On 1/21/21 6:17 PM, Bernhard Voelker wrote:
>> On 1/21/21 4:48 PM, Alejandro Colomar (man-pages) wrote:
>>> - dd is quite dangerous, and I would avoid it for simple tasks.
>>
>> well, every tool which can overwrite something could be considered
>> dangerous then, right? ;-)
> 
> Well, it is, but dd is happy overwriting /dev/sda :)

That argument doesn't really hold:
It's not 'dd' which allows this, but the kernel ... if the current user
has permissions to write to '/dev/sda'.  Consequently, 'tee /dev/sda'
- with superuser permissions - will also overwrite.

Have a nice day,
Berny




reply via email to

[Prev in Thread] Current Thread [Next in Thread]