ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: cornet <cornet@zmail.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Swat & Samba Trouble
Date: Fri Aug 10 10:18:03 2001
Message-ID: <3B738110.2122C313@zmail.ru> (raw)
In-Reply-To: <17156529593.20010810101652@yandex.ru>

Maxim Ivanov wrote:
> 
> Hello cornet,
> 
> Friday, August 10, 2001, 9:57:08 AM, you wrote:
> 
> >> [public]
> >>         comment = Shit for all users
> >>         browseable = Yes
> >>         path = /home/TextDoc
> >>         public = No
> >>         writeable = No
> >>         read list = @users_cg
> c>           ^^^^^^^^^^^^
> c> Если чтение для всех, то этот параметр не имеет смысла.
> 
> >>         write list = @users_shef
> >>         create mask = 0777
> c>                         ^^^^^
> c> Не имеет смысла при наличии write list
> 
> >>         guest ok = Yes
> 
> c> А вышлите ка сюды вывод команды:
> c> ls -l /home | grep TectDoc
> c> тогда все сразу станет ясно :-)
> 
> Вот, пожалуйста:)
> drwxr-xr-x    3 root     users_cg     4096 Авг  9 16:23 TextDoc
 
Ну и что же Вы хотите? Конечно не работает :-))
Приведите каталог к виду:
drwxrwxr-x    3   users_shef   users_shef     4096 Авг  9 16:23
TextDoc
                   ^^^^^^^^
                   ||||||||
любой юзер, входящий в группу users_shef

Точно такие же пермишены должны быть и у всех подкаталогов, а у
всех файлов -rw-rw-r--

А в smb.conf
[public]
         comment = Shit for all users
         browseable = Yes
         path = /home/TextDoc
         public = No
         write list = @users_shef
         create mask = 0664
         directory mode = 0775
         guest ok = Yes

По идее должно работать :-)

-- 
******** FIRE & STEEL ********



  reply	other threads:[~2001-08-10 10:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-10  9:19 Re[2]: " Maxim Ivanov
2001-08-10  9:38 ` cornet
2001-08-10  9:59   ` Re[2]: " Maxim Ivanov
2001-08-10 10:18     ` cornet [this message]
2001-08-10 10:43       ` Maxim Ivanov

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=3B738110.2122C313@zmail.ru \
    --to=cornet@zmail.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