ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] mount.smbfs
@ 2006-03-30 10:59 Yakov Hrebtov
  2006-03-30 11:38 ` Olvin
  2006-04-02 23:10 ` Alexey Rusakov
  0 siblings, 2 replies; 8+ messages in thread
From: Yakov Hrebtov @ 2006-03-30 10:59 UTC (permalink / raw)
  To: community

Привет!

Пишу в 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

Спасибо!


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-04-03  3:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-30 10:59 [Comm] mount.smbfs Yakov Hrebtov
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

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