ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yakov Hrebtov <jake@generation.ru>
To: community@lists.altlinux.org
Subject: [Comm] mount.smbfs
Date: Thu, 30 Mar 2006 16:59:04 +0600
Message-ID: <442BB9F8.5020406@generation.ru> (raw)

Привет!

Пишу в fstab:
//server/users   /mnt/users   smbfs  user,noauto,uid=jake,username=jake,iocharset=cp1251 0 0

при монтировании:
mount /mnt/users/
не подхватывается параметр iocharset=cp1251. (получается кодировка KOI8, а мне надо 1251)

но если делать вручную:
mount -t smbfs -o username=jake,iocharset=cp1251 //server/users /mnt/users/
кодировка устанавливается как надо.

Подскажите, в чем дело?

Решил попробовать mount.cifs, там с кодировакой всё ок, но другая проблема -- файлы в локальной 
  ФС после монтирования имеют владельцев, как на сервере, параметр uid= игнорируется... В итоге 
обычный юникс пользователь (не имеющий никакого отношения к домену Win) не может получить 
доступ к данным в смонтированном ресурсе.

в итоге мне надо либо:
1. чтоб smbfs подхватывала кодовую страницу из fstab
либо
2. чтоб cifs позволила как-то сменить владельца смонтированных файлов.

ядро 2.6.12-std26-up-alt4

Спасибо!


             reply	other threads:[~2006-03-30 10:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-30 10:59 Yakov Hrebtov [this message]
2006-03-30 11:38 ` Olvin
2006-03-31  4:50   ` Yakov Hrebtov
2006-03-31  5:52     ` Damir Shayhutdinov
2006-03-31  6:49       ` Yakov Hrebtov
2006-03-31 15:05     ` Andrey Rahmatullin
2006-04-02 23:10 ` Alexey Rusakov
2006-04-03  3:47   ` Yakov Hrebtov

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=442BB9F8.5020406@generation.ru \
    --to=jake@generation.ru \
    --cc=community@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 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