Bug#699728: gvfs-backends: gvfs mount corrupts display of files & directories

Paul Johnson pauljohn32 at gmail.com
Mon Feb 4 07:52:16 UTC 2013


Package: gvfs-backends
Version: 1.12.3-3
Severity: normal

Dear Maintainer,

I can mount a CIFS share as root with mount.cifs, but I
prefer not to be root, so am trying gvfs.

gvfs succeeds to mount a share, same effect as using the 
Nautilus file manager's urlbar with smb://

gvfs-mount smb://paul@rfs.home.uuku.edu/groups/CRMDA/John

After that, attempting to browse the mounted folder is
a disaster. Everything in the mounted directory is
seen as a directory, and inside every directory is a
directory listing of the main directory. 

I've got files and directories in there, but they 
all appear as directories.

When I was seeing this in Nautilus, it was hard to demonstrate,
but I learned about this cli access. 

paul at pols-124:~$ gvfs-ls smb://paul@rfs.home.uuku.edu/groups/CRMDA/John
~snapshot
empty.txt
junk.txt
linux.test
WesMagic
pj.junk
Descriptive
SVN


Observe: the folder WesMagic has the top level file list inside it: 

paul at pols-124:~$ gvfs-ls smb://paul@rfs.home.uuku.edu/groups/CRMDA/John/WesMagic
~snapshot
empty.txt
junk.txt
linux.test
WesMagic
pj.junk
Descriptive
SVN

paul at pols-124:~$ gvfs-ls smb://paul@rfs.home.uuku.edu/groups/CRMDA/John/WesMagic/WesMagic
~snapshot
empty.txt
junk.txt
linux.test
WesMagic
pj.junk
Descriptive
SVN

Observe the -l option output, showing that txt files are seen as directories.

paul at pols-124:~$ gvfs-ls -l smb://paul@rfs.home.uuku.edu/groups/CRMDA/John/WesMagic/WesMagic
~snapshot       2048    (directory)
empty.txt       2048    (directory)
junk.txt        2048    (directory)
linux.test      2048    (directory)
WesMagic        2048    (directory)
pj.junk 2048    (directory)
Descriptive     2048    (directory)
SVN     2048    (directory)

Hmm. now I notice this thing called ~snapshot in that share.  I didn't put it there, perhaps it is some file system "magic" from the system managers. If the first chraracter as a tilde is confusing gvfs, maybe ...

But why would mount.cifs work?




-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gvfs-backends depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.12.1-3
ii  gvfs                                         1.12.3-3
ii  gvfs-common                                  1.12.3-3
ii  gvfs-daemons                                 1.12.3-3
ii  gvfs-libs                                    1.12.3-3
ii  libarchive12                                 3.0.4-2
ii  libavahi-client3                             0.6.31-1
ii  libavahi-common3                             0.6.31-1
ii  libavahi-glib1                               0.6.31-1
ii  libbluetooth3                                4.99-2
ii  libc6                                        2.13-37
ii  libcdio-cdda1                                0.83-4
ii  libcdio-paranoia1                            0.83-4
ii  libcdio13                                    0.83-4
ii  libdbus-1-3                                  1.6.8-1
ii  libdbus-glib-1-2                             0.100-1
ii  libexpat1                                    2.1.0-1
ii  libgcrypt11                                  1.5.0-3
ii  libglib2.0-0                                 2.33.12+really2.32.4-3
ii  libgphoto2-2                                 2.4.14-2
ii  libgphoto2-port0                             2.4.14-2
ii  libgudev-1.0-0                               175-7
ii  libimobiledevice2                            1.1.1-4
ii  libplist1                                    1.8-1
ii  libsmbclient                                 2:3.6.6-4
ii  libsoup-gnome2.4-1                           2.38.1-2
ii  libsoup2.4-1                                 2.38.1-2
ii  libxml2                                      2.8.0+dfsg1-7
ii  psmisc                                       22.19-1

Versions of packages gvfs-backends recommends:
ii  gnome-keyring  3.4.1-5

Versions of packages gvfs-backends suggests:
ii  obex-data-server  0.4.5-1+b3
ii  samba-common      2:3.6.6-4

-- no debconf information



More information about the pkg-gnome-maintainers mailing list