ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitriy Shcherbakov <dimka_list@vzljot.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] shell
Date: Wed, 14 Dec 2005 16:54:27 +0300
Message-ID: <43A02413.5060901@vzljot.ru> (raw)
In-Reply-To: <43A02005.7080106@soc.adm.yar.ru>


>   mkdir + chmod + chown
>   cp + chmod + chown
> Чтобы файлы/каталоги появлялись сразу с нужными правами
> (без последовательного выполнения mkdir; chmod; chown).

 su -c "mkdir -m 765 /tmp/34567" test

Подойдет?

# ll /tmp/34567
...
drwxrw-r-x  2 test test   48 Dec 14 16:52 ./


С уважением, Дмитрий


  reply	other threads:[~2005-12-14 13:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-14 13:37 Дворников Михаил
2005-12-14 13:54 ` Dmitriy Shcherbakov [this message]
2005-12-14 14:01   ` Дворников Михаил
2005-12-14 14:13     ` Damir Shayhutdinov
2005-12-14 14:13     ` Yura Kalinichenko
2005-12-14 14:19     ` Dmitriy Shcherbakov
2005-12-14 15:24     ` Aleksey Avdeev
2005-12-14 23:55 ` 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=43A02413.5060901@vzljot.ru \
    --to=dimka_list@vzljot.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