diff options
| author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
|---|---|---|
| committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
| commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
| tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-November/020197.html | |
| parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
| download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip | |
Diffstat (limited to 'zarb-ml/mageia-dev/2012-November/020197.html')
| -rw-r--r-- | zarb-ml/mageia-dev/2012-November/020197.html | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-November/020197.html b/zarb-ml/mageia-dev/2012-November/020197.html new file mode 100644 index 000000000..83c5c5194 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-November/020197.html @@ -0,0 +1,102 @@ +<!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 "/bin/rm" + </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=%3C50AFFE7D.8030602%40laposte.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="020177.html"> + <LINK REL="Next" HREF="020168.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 "/bin/rm"</H1> + <B>andre999</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=%3C50AFFE7D.8030602%40laposte.net%3E" + TITLE="[Mageia-dev] [Bug 8177] rm command can't delete file, unless using the full path for the rm binary "/bin/rm"">andre999mga at laposte.net + </A><BR> + <I>Fri Nov 23 23:53:49 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="020177.html">[Mageia-dev] [Bug 8177] rm command can't delete file, unless using the full path for the rm binary "/bin/rm" +</A></li> + <LI>Next message: <A HREF="020168.html">[Mageia-dev] [soft-commits] [6500] make clear those functions are not related to macros +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#20197">[ date ]</a> + <a href="thread.html#20197">[ thread ]</a> + <a href="subject.html#20197">[ subject ]</a> + <a href="author.html#20197">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Colin Guthrie a écrit : +><i> 'Twas brillig, and Michael Wood at 22/11/12 14:45 did gyre and gimble: +</I>>><i> +</I>>><i> Or if you happy to run rm as it was written and risk deleting something +</I>>><i> you didn't want too, then comment out the alias (and any others that get +</I>>><i> on your nerves:) ) from /etc/profile.d/60alias.sh +</I>><i> +</I>><i> While it technically is a config file, it's also numeric which means +</I>><i> that one day, it *might* be renumbered for whatever need at the time. +</I>><i> +</I>><i> I therefore try to always avoid editing such files whenever possible. +</I>><i> +</I>><i> Instead, I'd personally recommend creating your own file: +</I>><i> +</I>><i> /etc/profile.d/999-fsck-the-defaults.sh +</I>><i> +</I>><i> and in it just put: +</I>><i> alias rm=rm +</I>><i> +</I>><i> or similar to "undo" the earlier changes. +</I>><i> +</I>><i> Sure there is a tiny amount more to do at init, but it's pretty minimal +</I>><i> and you likely won't notice. +</I>><i> +</I>><i> Col +</I>><i> +</I> +That's what I do too (creating a custom file) -- for various other +commands. That also ensures that it isn't overwritten by any updates. + +For rm, I'd rather have confirmation. +(reminds me of the rm -f 127.0.0.1 joke) + + +-- +André +</PRE> + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="020177.html">[Mageia-dev] [Bug 8177] rm command can't delete file, unless using the full path for the rm binary "/bin/rm" +</A></li> + <LI>Next message: <A HREF="020168.html">[Mageia-dev] [soft-commits] [6500] make clear those functions are not related to macros +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#20197">[ date ]</a> + <a href="thread.html#20197">[ thread ]</a> + <a href="subject.html#20197">[ subject ]</a> + <a href="author.html#20197">[ 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> |
