ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Rusakov <ktirf@altlinux.org>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] mount.smbfs
Date: Mon, 03 Apr 2006 03:10:37 +0400
Message-ID: <443059ED.8000809@altlinux.org> (raw)
In-Reply-To: <442BB9F8.5020406@generation.ru>

Yakov Hrebtov wrote:
> Привет!
>
> Пишу в 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
> либо
>   
Переходите на cifs.

> 2. чтоб cifs позволила как-то сменить владельца смонтированных файлов.
опции uid и gid не помогают?

-- 
  Alexey "Ktirf" Rusakov


  parent reply	other threads:[~2006-04-02 23:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-30 10:59 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 [this message]
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=443059ED.8000809@altlinux.org \
    --to=ktirf@altlinux.org \
    --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