ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Peter V. Saveliev" <peet@infosite.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Samba
Date: Tue Oct  2 16:17:04 2001
Message-ID: <20011002161646.56d96302.peet@infosite.ru> (raw)
In-Reply-To: <17110430640.20011002153317@yandex.ru>

Hello, Maxim Ivanov <maxiva@yandex.ru>!
On Tue, 2 Oct 2001 15:33:17 +0400 you wrote:

<skip>
>   Нужно сделать приватную папку. Пишут/читают/изменяют трое в
>   конкретной группе, все  остальные в идеале вообще ничего не видят
>   (включая сам ресурс), и, разумеется, ни читать, ни писать.

Есть такая опция - include. Делаем так: include smb.conf.%u  - 
и подсасываем для каждого юзера свою фичу. Смотри дефолтовый конфиг
от samba.org. Очень полезно.

<skip>
> [private]
>         comment = Private Folder
>         path = /home/Private
>         valid users = inf_ims, inf_ipu, inf_com
>         write list = @users_priv
>         writeable = Yes
>         create mask = 0664            <-----  по этому поводу сильно
>                                                сомневаюсь
>         directory mask = 0770         <-----
> 

Может, так?

[private]
        comment = Private Folder
        path = /home/Private
        public = no
        valid users = @users_priv
        force group = users_priv
        writeable = Yes
        create mode = 0770       
        directory mode = 0770    


> 
> Права на саму папку:
> drwxrwx---    2 inf_ims  users_pr     4096 Окт  2 15:20 Private
                           users_priv
Ага.

<skip>


Петр.



  reply	other threads:[~2001-10-02 16:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02 15:35 Maxim Ivanov
2001-10-02 16:17 ` Peter V. Saveliev [this message]
2001-10-02 16:54   ` Vyt
2001-10-02 16:39 ` cornet
2001-10-02 17:39   ` Vadim
2001-10-02 18:05   ` Re[2]: " Maxim Ivanov
2001-10-02 18:22     ` cornet

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=20011002161646.56d96302.peet@infosite.ru \
    --to=peet@infosite.ru \
    --cc=mandrake-russian@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