mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nick <nick@galaktika.ru>
To: linux-kernel@vger.kernel.org
Subject: Can I ask a smbfs question here?
Date: Fri, 14 Jan 2005 18:15:13 -0800	[thread overview]
Message-ID: <41E87CB1.30804@galaktika.ru> (raw)

Hello,

I am trying to use a W2K share from my laptop. This share is on Fat32 
(not sure if it matters). So far I am able either to configure it so it 
is mountable by non-root user or to configure it so it sees 
international (russian) characters in filenames on this share. I am on 
FC3 with the stock Samba (updated to samba-3.0.10-1.fc3). Here is what I 
did:

To make the share user mountable I changed the owner of the mountpoint 
to the regular user I am using, chmodded one of the binaries (sorry - do 
not remember which one - found its name in one of FAQs) and specified 
"users" option in the /etc/fstab for this share.  After all these I am 
able to mount this share as a regular user (owner of the mount point). 
Unfortunately, it cannot see russian characters in the file names.

To make russian characters visible, I added the following options to the 
/etc/fstab : codepage=cp866,iocharset=utf8. It works ONLY if I remove 
users (or user) option for the same share.

1) 
username=administrator,password=xxx,fmask=0666,codepage=cp866,iocharset=utf8 

This line allows me to see russian filenames but I cannot mount it as a 
regular user - only as root.

2) 
username=administrator,password=xxx,fmask=0666,codepage=cp866,iocharset=utf8,users 

I am getting the following message in /var/log/messages if I use the 
second line:
Jan  9 15:24:09 NS kernel: smbfs: Unrecognized mount option noexec
The share still mounts but the russian filenames are not visible 
(russian letters are replaced with question marks ???).

Any ideas if it is possible to fix this? I can "sudo mount" all the time 
but it does not sound right...

Thanks,
Nick



             reply	other threads:[~2005-01-15  2:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-15  2:15 Nick [this message]
2005-01-15  3:31 ` Yaroslav Rastrigin
2005-01-15 21:52   ` Nick

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=41E87CB1.30804@galaktika.ru \
    --to=nick@galaktika.ru \
    --cc=linux-kernel@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®