ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: community@altlinux.ru
Subject: [Comm] [FAQ] Re: Права в /etc/*
Date: Thu, 13 Jan 2005 21:01:24 +0200
Message-ID: <20050113190124.GL23590@osdn.org.ua> (raw)
In-Reply-To: <41E695DE.40802@list.ru>

On Thu, Jan 13, 2005 at 06:38:06PM +0300, Genix wrote:
> когда-то давно этот вопрос уже возникал в этой рассылке, и тогда 
> решилось, что можно сделать так:
> 
> ===============================
> 
> Сделал chmod 644 ./* как видите - на ПОДкаталог.
> Но что-то там в мозгах компутерных (или моих :-) замкнуло и
> очнулся я уже, когда на весь корень на все стояли эти права.

Хех.  Плавали, знаем...  Замкнуло в том, что ".." -- это тоже ".*".
Кстати, настоятельно рекомендую для таких операций или указывать
-i всякие, или пользоваться zsh и перед <enter> делать <tab> на
шаблоне и проверять глазами поэлементно раскрытие.

> Лечил:
> 1. загрузился в rescue c установочного CD.
> 2. Подмонтировал ручками всю систему в /mnt/tmp/
> 3. Ничтоже сумняшись сдал права 755 на /mnt/tmp/sbin ,
> /mnt/tmp/bin , /mnt/tmp/usr/sbin , /mnt/tmp/usr/bin и на все
> загрузочные скрипты в /etc/rc.d/

Причём небось рекурсивно...

> Пришлось править потом права, к примеру на /etc/sudoers на
> /usr/bin/sudo (для того чтобы можно было sudo пользоваться) и
> по-мелочи.

Не, такое в faq нельзя.  Уж лучше тогда скриптик про reinstall...

В общем, пишите соображения по поводу добавок к
http://faq.altlinux.ru/index.php?action=single&nf=1&qid=372

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2005-01-13 19:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-13 14:13 [Comm] " Aleksey Birukov
2005-01-13 15:27 ` Dolgov OV
2005-01-13 15:38   ` Genix
2005-01-13 19:01     ` Michael Shigorin [this message]
2005-01-13 16:36 ` Dmitry V. Levin

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=20050113190124.GL23590@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@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