ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <ab@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] smbfs vs cifs
Date: Mon, 26 Oct 2009 09:18:00 +0200
Message-ID: <6062a6e60910260018lf63cf58mb8c4421c096373e4@mail.gmail.com> (raw)
In-Reply-To: <4AE50F34.4050207@mmedia2.kemsu.ru>

2009/10/26 REAL <root@mmedia2.kemsu.ru>:
> Alexander Bokovoy пишет:
>>
>> Если требуется обеспечить возможность чтения/записи всем пользователям
>> в системе, то необходимо различать два случая:
>> 1. Записываемые файлы получают одного владельца.
>> 2. Записываемые файлы должны иметь своего владельца.
>>
>> Первый случай возможен -- как раз с комбинацией noperm,uid=,gid=.
>> Второй случай требует мультиплексирования авторизации и это пока не
>> работает внятно в случае, если uid/gid не общие на обеих машинах.
>
> Насколько я понимаю, второй случай - это явно что-то сомнительное весьма:
> из-под одной учётной записи создавать файлы с разными владельцами - это надо
> su применять, зная пароли этих владельцев. Не знаю, чем случай с cifs будет
> чище, по-моему, такой же грязный подход.
Нет, второй случай -- это иметь одну точку монтирования и позволять
пользователям при входе в систему добавлять свои credentials в список
используемых, а в cifsfs применять мультиплексирование запросов в
рамках одного соединения с разными credentials. Это все поддерживается
протоколом, но не до конца реализовано в cifsfs.

> Как я понимаю, нужно подключить к одной машине ресурс при её включении, куда
> бы могли безнапряжно писать все пользователи этой машины сразу после
> авторизации? Ну, устроительство файлопомойки - это не та тема, над которой
> хочется ломать голову :)
У меня это работает в штатном режиме, без всяких дополнительных
настроек. Если интересно, я доберусь до монтируемого сервера и
посмотрю настройки на нем (это Popcorn Hour A 110).

-- 
/ Alexander Bokovoy

  reply	other threads:[~2009-10-26  7:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23  7:30 Eugene Prokopiev
2009-10-23  8:06 ` REAL
2009-10-24 16:32 ` Eugene Prokopiev
2009-10-25  6:20   ` Alexander Bokovoy
2009-10-26  2:53     ` REAL
2009-10-26  7:18       ` Alexander Bokovoy [this message]
2009-10-26  5:32     ` Eugene Prokopiev
2009-10-26  5:56       ` REAL

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=6062a6e60910260018lf63cf58mb8c4421c096373e4@mail.gmail.com \
    --to=ab@altlinux.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git