ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Sergei Epiphanov <serpiph@nikiet.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Fwd: [nixCraft] New Comment On: My 10 UNIX Command Line Mistakes
Date: Tue, 14 Aug 2012 13:33:10 +0400
Message-ID: <1372734.jH4NieYxIF@epiphanov.bkpi82.nikiet.ru> (raw)
In-Reply-To: <20120814091350.GR4053@osdn.org.ua>

On 14 августа 2012 12:13 Michael Shigorin wrote:
> Про "touch 0; chmod 0 0" для защиты каталогов от случайного rm
> понравилось, хоть и опять не панацея  (нечего было делать
> alias на rm -r, а если бы -rf, то и хитрость бы не сработала)

Проще и брутальнее 'chattr +i' на нужное. :)

-- 
С уважением, Епифанов Сергей

      reply	other threads:[~2012-08-14  9:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-14  9:13 Michael Shigorin
2012-08-14  9:33 ` Sergei Epiphanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1372734.jH4NieYxIF@epiphanov.bkpi82.nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git