ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@altlinux.ru>
Subject: Re: [Comm] Re: ?: strict permissions on dirs & so on
Date: Fri, 5 Sep 2003 23:39:19 +0400
Message-ID: <20030905193919.GB14340@basalt.office.altlinux.org> (raw)
In-Reply-To: <20030829144242.GH2661@julia.office.altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]

On Fri, Aug 29, 2003 at 06:42:42PM +0400, Alexey Tourbin wrote:
> On Fri, Aug 29, 2003 at 06:21:49PM +0400, Oleg K. Artemjev wrote:
> > > Специальные требования к ограничениям в системе не распадаются на
> > > "ничего", "средне" и "максимум".  Такой подход имеет только
> > > конъюнктурные преимущества.  В сущности, как видно из вывода control(8)
> > > на моей машине, имеет место комбинаторный рост вариантов настройки
> > > системы.
> > погляжу..
> 
> Посмотрел, он с каталогами тоже умеет работать.  Смотрите как просто:
> 
> # chmod +x /etc/control.d/facilities/network-scripts
> # control network-scripts
> public
> # control network-scripts restricted
> # ls -dl /etc/sysconfig/network-scripts
> drwxr-x---    2 root     wheel        1096 Jul  1 23:14 /etc/sysconfig/network-scripts
> # control network-scripts public
> # ls -dl /etc/sysconfig/network-scripts
> drwxr-xr-x    2 root     root         1096 Jul  1 23:14 /etc/sysconfig/network-scripts
> #

> #!/bin/sh
> 
> . /etc/control.d/functions
> 
> BINARY=/etc/sysconfig/network-scripts

Извините, но какой же это binary? :)

> new_fmode public 755 root root
> new_fmode restricted 750 root wheel
> 
> control_fmode "$BINARY" "$*" || exit 1


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-09-05 19:39 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-27  6:29 [Comm] " Oleg K.Artemjev
2003-08-27  8:51 ` [Comm] " Alexey Tourbin
2003-08-27  9:11   ` Oleg K.Artemjev
2003-08-27  9:23     ` Alexey Tourbin
2003-08-27 11:15       ` Oleg K.Artemjev
2003-08-27 11:47         ` Andrey Rahmatullin
2003-08-27 15:46         ` Alexey Tourbin
2003-08-29 12:28           ` Oleg K.Artemjev
2003-08-29 12:45             ` Alexey Tourbin
2003-08-29 12:53               ` Sergey Vlasov
2003-08-29 14:16                 ` Oleg K.Artemjev
2003-08-29 13:01               ` Oleg K.Artemjev
2003-08-29 13:28                 ` Michael Shigorin
2003-08-29 14:16                   ` Oleg K.Artemjev
2003-08-29 14:02                 ` Alexey Tourbin
2003-08-29 14:21                   ` Oleg K.Artemjev
2003-08-29 14:42                     ` Alexey Tourbin
2003-09-05 19:39                       ` Dmitry V. Levin [this message]
2003-09-09 11:38                         ` Michael Shigorin
2003-09-01 14:19                   ` Alexey Tourbin
2003-09-02  9:05                     ` Oleg K.Artemjev
2003-09-02 12:53                       ` Alexey Tourbin
2003-09-02 12:59                         ` Alexey Tourbin
2003-09-02 15:40                           ` Alexey Tourbin
2003-08-29 12:57             ` 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=20030905193919.GB14340@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --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