Bug#663140: nautilus: CIFS mounted shares appear twice in tree-view pane
Ulrich Krause
ulrich.krause at amodia.de
Fri May 4 07:32:33 UTC 2012
Hi Alexander,
for me a trailing slash for the source did the trick, so you may try
$ cat /etc/fstab
//slug/nfs/ /media/slug cifs rw,sec=ntlmv2,user=nfs,password=xxx 0 0
#this one ^
As far as I got it, the mtab entry receives the slash automatically
while mounting, resulting in different entries in mtab and fstab. And
that causes further confusion, because the fstab entry can still be
mounted, resulting in multiple entries for the same source/directory
pair. I neither know if adding this slash while mounting is a bug, nor
which package is responsible. But I thought the slogan "It's not a bug,
it's a feature !" had a Microsoft copyright.
I am using the following options in fstab:
//host/share/ /mnt/point cifs noauto,user,credentials=/path-to/cred_file
where cred_file contains three lines (NO spaces around the "=" sign !):
username=<user>
password=<pw>
domain=<dom>
Without the "noauto" option the source gets mounted by root. The "user"
in the credentials file is ignored (another bug ?).
The "user" (or "users") option is necessary to display the unmounted
share in nautilus. The mounting happens at the first click.
I hope this was helpful.
Ulrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulrich_krause.vcf
Type: text/x-vcard
Size: 387 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20120504/3a67a16f/attachment.vcf>
More information about the pkg-gnome-maintainers
mailing list