ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Flach <flach@mcnet.ru>
To: community@altlinux.ru
Subject: [Comm] Samba доступ
Date: Mon, 30 Sep 2002 18:34:19 +0400
Message-ID: <20020930143846.EA17D7A5E@sorry.mcnet.ru> (raw)

Добрый день!

Устанавливаю у себя Samba. Скорее всего что-то недопонял в настройках доступа.
Например, есть пользователь roman (член групп roman, verstak, nabor).
Есть директория:
drwxrwx--x 50 verstak verstak 4096 ... verstak

В smb.conf
[verstak]
comment = Quark folder
path = /home/verstak
public = no
browseable = yes
writable = yes
create mask = 664
valid users = roman, susy

Пользователь roman может зайти в директорию verstak только если drwxrwxr-x. 
Может читать, но не может изменять и создавать файлы. Однако, он должен иметь 
полный доступ. Мне казалось, что если группе в которой находится пользователь 
дан полный доступ, то и он получает эти права.  Идея была такая: чтобы проще 
было давать пользователям доступ к определенным директориям, создать 
пользователей с именем этих директорий. В группу этих пользователей добавлять 
тех, кому нужен полный доступ, а всем остальным разрешать только чтение, либо 
вобще не давать доступ. Надеялся с помощью "browseable =" некоторые 
директории вообще сделать невидимыми для тех кто не входит в valid users. Но, 
почему-то даже те кто совсем valid тоже не могут видеть такие директории.
Скорее всего я чего-то недопонял. Буду благодарен если не за подсказку, то 
хотя бы за линк на толковую объяснялку для бестолковых.

Спасибо.
Михаил  





             reply	other threads:[~2002-09-30 14:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30 14:34 Flach [this message]
2002-09-30 16:05 ` Maxim Tyurin

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=20020930143846.EA17D7A5E@sorry.mcnet.ru \
    --to=flach@mcnet.ru \
    --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