ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] установить 775 на все вложенные каталоги
Date: Wed, 18 Jan 2006 15:45:15 +0300
Message-ID: <43CE385B.8080707@stc.donpac.ru> (raw)
In-Reply-To: <a93748650601180417o807f601nd1fe2bf06d72dd73@mail.gmail.com>

Serge Tarkovski пишет:
> Понимаю, что вопрос банальный, отошлите меня если что к месту, где все 
> такие RTFM'ы лежат.
> Нужно поставить права 775 на каталог и на все его вложенные подкаталоги, 
> файлы не трогать, только каталоги. Какой консольной командой это можно 
> сделать? И ман чего мне почитать? А еще лучше - какой одной командой на 
> все вложенные файлы проставить права 664, на каталоги 775.
> Спасибо.

Только двумя:

find /folder/... -type d -exec chmod 775 {} \;
find /folder/... -type f -exec chmod 664 {} \;

Короче, читайте про find :)

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


       reply	other threads:[~2006-01-18 12:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-18 12:45 ` Eugene Prokopiev [this message]
2006-01-18 13:05   ` Alexey Rusakov
2006-01-18 13:32     ` ABATAPA
2006-01-18 13:39       ` Алексей Синицын
2006-01-18 13:40       ` Alexey Rusakov
2006-01-18 13:53         ` ABATAPA
2006-01-18 14:03           ` Alexey Rusakov
2006-01-18 12:47 ` Michael Isachenkov
2006-01-18 12:48   ` Nick S. Grechukh
2006-01-18 13:04     ` ABATAPA
2006-01-18 12:48 ` Slava Dubrovskiy
2006-01-18 13:03   ` ABATAPA
2006-01-18 16:41     ` Andrey Rahmatullin
2006-01-19 10:17       ` ABATAPA
2006-01-18 12:59 ` [OBORONA-SPAM] " ABATAPA
2006-01-19  4:52 ` [Comm] " Вадим Илларионов

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=43CE385B.8080707@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=community@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 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