ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: AVL <info@atmsk.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Говорила мама -- не делай chown -R .* (was: [sisyphus] Реанимация юзера)
Date: Wed Feb  6 18:17:11 2002
Message-ID: <20020206182010.0ce1c5f5.info@atmsk.ru> (raw)
In-Reply-To: <20020206140848.GV1540@lic145.kiev.ua>

On Wed, 6 Feb 2002 16:08:48 +0200
Michael Shigorin <mike@lic145.kiev.ua> wrote:

> On Wed, Feb 06, 2002 at 04:18:48PM +0300, Kir wrote:
> > chown -R aaa:aaa /home/aaa/.*
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> О! Ооо!  Ну я ж говорил так НЕ ДЕЛАТЬ...  Мои любимые стопудово
> надежные грабли ;-)

товарищ не виноват. это я ему насоветовал. причем сам таких грабель _никогда_ не замечал. 

> 
> Если уж очень именно по скрытым -- то что-то вроде ".[^.]*",
> ".[a-zA-Z_0-9]*"... потому как ".." -- тоже ".*".

похоже, потому как я всегда че нибудь добавлял после точки.

> > chown -R aaa:aaa /home/aaa/*
> Это уже в воздух.

это тоже я иногда делаю, потому как бывает апт сорец вывалит рутом или еще что такое от неудачной работы рутом.
к делу не относилось, но и не помеха.

> 
> > chmod -R 644 /home/aaa/.*
> И это для закраски ;(

из за . ..? опять моя вина.

> 
> > find /home/aaa/ -name .* -type d -exec chmod 755 {} \;
> > find /home/aaa/ -name .* -type f -exec chmod 644 {} \;
> Ваще замечательно $(

аналогично.



мда. а ведь отвечал то я в конфу, а промахнулся в меню и попало лично автору послания.
в итоге вот как нехорошо получилось. :((((((((((((((((




  reply	other threads:[~2002-02-06 18:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-06 17:05             ` Michael Shigorin
2002-02-06 18:17               ` AVL [this message]
2002-02-06 22:50                 ` [mdk-re] [JT] " Michael Shigorin
2002-02-06 23:05                   ` AVL
2002-02-07  0:13                     ` [mdk-re] [JT] Говорила мама -- не делай chown -R .* Michael Shigorin
2002-02-08 16:20                 ` [mdk-re] Говорила мама -- не делай chown -R .* (was: [sisyphus] Реанимация юзера) Kir
2002-02-06 18:40               ` [mdk-re] " Maksim Otstavnov
2002-02-06 22:50                 ` Michael Shigorin
2002-02-07  0:22               ` [mdk-re] " Mikhail Zabaluev
2002-02-08 16:05               ` [mdk-re] " Kir
2002-02-08 16:53                 ` [mdk-re] " Artem K. Jouravsky
2002-02-08 17:23                 ` [mdk-re] " Andriy Dobrovol's'kii
2002-02-09 20:00                 ` [mdk-re] Re: Говорила мама -- не делай chown -R .* Michael Shigorin

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=20020206182010.0ce1c5f5.info@atmsk.ru \
    --to=info@atmsk.ru \
    --cc=mandrake-russian@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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