summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-November/020167.html
blob: 496f8fe1b33c394e1a047983a19a534ea1147b14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [Bug 8177] rm command can't delete file, unless using the full path for the rm binary &quot;/bin/rm&quot;
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BBug%208177%5D%20rm%20command%20can%27t%20delete%20file%2C%0A%20unless%20using%20the%20full%20path%20for%20the%20rm%20binary%20%22/bin/rm%22&In-Reply-To=%3C50AE3A93.4010707%40blueyonder.co.uk%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="020163.html">
   <LINK REL="Next"  HREF="020169.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [Bug 8177] rm command can't delete file, unless using the full path for the rm binary &quot;/bin/rm&quot;</H1>
    <B>Michael Wood</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BBug%208177%5D%20rm%20command%20can%27t%20delete%20file%2C%0A%20unless%20using%20the%20full%20path%20for%20the%20rm%20binary%20%22/bin/rm%22&In-Reply-To=%3C50AE3A93.4010707%40blueyonder.co.uk%3E"
       TITLE="[Mageia-dev] [Bug 8177] rm command can't delete file, unless using the full path for the rm binary &quot;/bin/rm&quot;">woodm at blueyonder.co.uk
       </A><BR>
    <I>Thu Nov 22 15:45:39 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="020163.html">[Mageia-dev] USB speaker systems
</A></li>
        <LI>Next message: <A HREF="020169.html">[Mageia-dev] [Bug 8177] rm command can't delete file, unless using the full path for the rm binary &quot;/bin/rm&quot;
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#20167">[ date ]</a>
              <a href="thread.html#20167">[ thread ]</a>
              <a href="subject.html#20167">[ subject ]</a>
              <a href="author.html#20167">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 22/11/12 11:19, Thomas Backlund wrote:
&gt;<i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=8177">https://bugs.mageia.org/show_bug.cgi?id=8177</A>
</I>&gt;<i>
</I>&gt;<i> Thomas Backlund&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tmb at iki.fi</A>&gt;  changed:
</I>&gt;<i>
</I>&gt;<i>             What    |Removed                     |Added
</I>&gt;<i> ----------------------------------------------------------------------------
</I>&gt;<i>               Status|NEW                         |RESOLVED
</I>&gt;<i>           Resolution|                            |INVALID
</I>&gt;<i>                   CC|                            |<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tmb at iki.fi</A>
</I>&gt;<i>
</I>&gt;<i> --- Comment #1 from Thomas Backlund&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tmb at iki.fi</A>&gt;  2012-11-22 12:19:42 CET ---
</I>&gt;<i>
</I>&gt;<i> That is intended.
</I>&gt;<i>
</I>&gt;<i> rm is aliased to &quot;rm -i&quot; to ask the question as a safety feature, so you must
</I>&gt;<i> answer the question, not only press enter.
</I>&gt;<i>
</I>&gt;<i> $ touch testfile
</I>&gt;<i> $ ll testfile
</I>&gt;<i> -rw-rw-r-- 1 tmb tmb 0 Nov 22 13:14 testfile
</I>&gt;<i> $ rm  testfile
</I>&gt;<i> rm: remove regular empty file `testfile'? y
</I>&gt;<i> $ ll testfile
</I>&gt;<i> ls: cannot access testfile: No such file or directory
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> the other way to avoid the question is to do &quot;rm -f&quot;
</I>&gt;<i>
</I>
Or if you happy to run rm as it was written and risk deleting something 
you didn't want too, then comment out the alias (and any others that get 
on your nerves:) ) from /etc/profile.d/60alias.sh


</PRE>


















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="020163.html">[Mageia-dev] USB speaker systems
</A></li>
	<LI>Next message: <A HREF="020169.html">[Mageia-dev] [Bug 8177] rm command can't delete file, unless using the full path for the rm binary &quot;/bin/rm&quot;
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#20167">[ date ]</a>
              <a href="thread.html#20167">[ thread ]</a>
              <a href="subject.html#20167">[ subject ]</a>
              <a href="author.html#20167">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>