|
From: | Takahashi Mamoru |
Subject: | bug#19262: rm command removes a read-only file without confirming when the stdin is closed |
Date: | Wed, 03 Dec 2014 17:57:49 +0900 |
User-agent: | Wanderlust/2.15.9 (Almost Unreal) Emacs/25.0 Mule/6.0 (HANACHIRUSATO) |
Hello, $ touch a; chmod 0444 a; ls -l a -r--r--r-- 1 foo bar 0 Dec 3 14:25 a $ echo a | xargs /bin/rm -v removed 'a' Or, $ touch a; chmod 0444 a; ls -l a $ /bin/rm -v a 0<&- removed 'a' Is this a bug or a feature ? Best regards.
[Prev in Thread] | Current Thread | [Next in Thread] |