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/020170.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/020170.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-November/020170.html | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-November/020170.html b/zarb-ml/mageia-dev/2012-November/020170.html new file mode 100644 index 000000000..354eb46cb --- /dev/null +++ b/zarb-ml/mageia-dev/2012-November/020170.html @@ -0,0 +1,113 @@ +<!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=%3C50AE572D.6070503%40colin.guthr.ie%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="020279.html"> + <LINK REL="Next" HREF="020177.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>Colin Guthrie</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=%3C50AE572D.6070503%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] [Bug 8177] rm command can't delete file, unless using the full path for the rm binary "/bin/rm"">mageia at colin.guthr.ie + </A><BR> + <I>Thu Nov 22 17:47:41 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="020279.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="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> <B>Messages sorted by:</B> + <a href="date.html#20170">[ date ]</a> + <a href="thread.html#20170">[ thread ]</a> + <a href="subject.html#20170">[ subject ]</a> + <a href="author.html#20170">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Michael Wood at 22/11/12 14:45 did gyre and gimble: +><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> +While it technically is a config file, it's also numeric which means +that one day, it *might* be renumbered for whatever need at the time. + +I therefore try to always avoid editing such files whenever possible. + +Instead, I'd personally recommend creating your own file: + +/etc/profile.d/999-fsck-the-defaults.sh + +and in it just put: +alias rm=rm + +or similar to "undo" the earlier changes. + +Sure there is a tiny amount more to do at init, but it's pretty minimal +and you likely won't notice. + +Col + +-- + +Colin Guthrie +colin(at)mageia.org +<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> + +Day Job: + Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A> +Open Source: + Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A> + PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A> + Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A> +</PRE> + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="020279.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="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> <B>Messages sorted by:</B> + <a href="date.html#20170">[ date ]</a> + <a href="thread.html#20170">[ thread ]</a> + <a href="subject.html#20170">[ subject ]</a> + <a href="author.html#20170">[ 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> |