David Jeske wrote: > -- Jakub Narebski wrote: >> >> If they are using '-f', i.e. force, they should know and be sure what >> they are doing; it is not much different from 'rm -f *'. By the way, reflog (even if expired) would protect you in this situation; I have checked wrongly that it does not (chronological vs. reverse chronological order, and not paying attention to timestamps). > Sure, no problem. I don't want the ability to "rm -f *". [...] It is very useful command when deleting larger number of files; I have "alias rm='rm -i'", and confirming every single file quickly gets annoying. > Just like a normal user on a unix machine doesn't run > around with the power to rm -f /etc all the time, even though they may be able > to su to root. Example was about "rm -f *", i.e. removing contents of current directory; you should be careful when doing it, for example if you are in currect repository. Some older versions of UNIX supposedly could hose every hidden file you own upwards if you did "rm -rf .*", as they matched '..' (parent directory) against '.*'. > Let me guess, you're always running euid==0. :) No. I almost never login as root, using 'sudo', 'sudo su -', or relying on applications asking for root credentials if required (for example when installing new version of git). Let me guess: no sharp knives in kitchen? ;-P -- Jakub Narebski Poland -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html