ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ilya Palagin <tux@fioc.kz>
To: community@altlinux.ru
Subject: Re: [Comm] Samba и создание файла.
Date: Wed, 29 Jan 2003 16:55:46 +0600
Message-ID: <3E37B332.4080903@fioc.kz> (raw)
In-Reply-To: <20030129132800.741e4caa.gnomik@mtv.ru>

Andrew Nazarkin wrote:
> On 29 Jan 2003 12:44:48 +0300
> "Eugene A. Suchkov" <cityhawk@mail.ru> wrote:
> 
> 
>>В Срд, 29.01.2003, в 11:52, Konstantin.Sinitsyn@rsce.ru написал:
>>
>>>Здравствуйте.
>>>
>>>Есть расшаренный ресурс на самбе и пользователь создаёт файл
>>>на нём. Владелец этого файла он, а группа с именем этого
>>>пользователя. Как сделать чтоб владельцем была определенная
>>>группа без использования команды chown? То есть одна группа
>>>для разных пользователей.
>>>
>>>режим security = user
>>>Master 2.0
>>>Samba 2.0.10 из апдейта к Spring2001
>>
>>Аналогичная ситуация. Неоттестированно, и возможно неправильно - из
>>/etc/groups убил группу этого юзера
> 
> 
> Немного непонятен вопрос, но, возможно, решение таково - в /etc/groups
> создать группу (privacy) и включить туда всех нужных пользователей.
> В smb.conf на нужной шаре вписать  force group = privacy 
> Имя группы, сами понимаете, может быть любым...
> Таким образом группа всегда будет именно privacy.
> 
> Если же группа нужна не на одной только шаре а на всем пространстве то
> force group параметр пишется в глобальных настройках.
> 
> 
Нужно поставить на расшаренный каталог атрибут
"set group ID on execution":
chmod g+s <каталог>
Все созданные в нем файлы будут принадлежать группе, владеющей каталогом.



  reply	other threads:[~2003-01-29 10:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29  8:52 Konstantin.Sinitsyn
2003-01-29  9:44 ` Eugene A. Suchkov
2003-01-29 10:28   ` Andrew Nazarkin
2003-01-29 10:55     ` Ilya Palagin [this message]
2003-01-29 15:40       ` Dmitry E. Oboukhov
2003-01-29 16:10         ` Ilya Palagin
2003-01-29 16:47           ` Dmitry E. Oboukhov
2003-01-29 17:11             ` Ilya Palagin
2003-01-30  6:54             ` Владимир
2003-01-29 10:11 ` Andrew Velikoredchanin
2003-01-29 15:20   ` Илья Брызгалов
2003-01-29 16:52     ` Andrew Velikoredchanin
2003-01-29 17:06       ` Илья Брызгалов
2003-01-31  7:53         ` [Comm] Re[2]: " aek

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=3E37B332.4080903@fioc.kz \
    --to=tux@fioc.kz \
    --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