ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: aek <aek@taxpol.krasnoyarsk.su>
To: "Илья Брызгалов" <community@altlinux.ru>
Subject: [Comm] Re[2]: [Comm] Samba и создание файла.
Date: Fri, 31 Jan 2003 14:53:50 +0700
Message-ID: <0620.030131@taxpol.krasnoyarsk.su> (raw)
In-Reply-To: <20030129200612.6537c9c4.ill@illinux.krumn.oilnet.ru>

Hello Илья,

Thursday, January 30, 2003, 12:06:12 AM, you wrote:


>> [otdel1]
>>         comment = 
>>         path = /shared/otdel1
>>         valid users = @otdel1,@generals,@adm,@otdel2
>>         read list = @otdel2
>>         write list = @otdel1,@generals,@adm
>>         read only = No
>> 
>> >Например groups:
>> >ALLUSERS:x:500:vasya,petya,masha
>> >OK:x:501:vasya,masha
>> >BUH:x:502:petya,masha
>> >PROG:x:503:vasya,petya
>> >На каталогах стоит 0770.
>> >На ресурсе "force group = groupname" будет правильно работаь?
>> >  
>> >
>> Права на ресурсы для пользователей и групп задаются в настройках
>> самбы. То, что каталог должен быть с правами rw для группы sambausers
>> это просто базовая настройка.
ИБ> Я про то же говорил. 
ИБ> Меня сбило с толку "всех пользователей в одну группу".
ИБ> А так у меня так и сделано, на отдел - группа, ресурсу - лист группы.
ИБ> Не хватало "force group = groupname", умные люди подсказали.
ИБ> Проверил работает, как надо. Завтра послушаю Юзверей. :-)

Простите, Ниче не понял... :(
Где чего написать, чтоб права на каталоги и файлы
раздавать спокойно средствами Линуха?
На пальцах:
[work]
        comment = Public acces area
        path = /dump/samba
        read only = No
        create mask = 0644
        directory mask = 0755

каталог и потроха /dump/samba/svodka готовится
линуховыми средствами (короче не через самбу :))
и доступ к этому подкаталогу нужно дать
одной группе "svodka". Делать для этого еще один,
отдельный "диск" нежелательно. Нужно именно
разделить доступ по каталогам в пределах отданного
[work]. в старых самбах это делалось по людски, т.е.
chown,chmod и поперли...


-- 
Всех благ!
Анатолий

      reply	other threads:[~2003-01-31  7:53 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
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         ` aek [this message]

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=0620.030131@taxpol.krasnoyarsk.su \
    --to=aek@taxpol.krasnoyarsk.su \
    --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