Bug#533417: nautilus: can't connect to CIFS server if there are no read perms on root-folder

Jon Dowland jon+bts at alcopop.org
Wed Jun 17 10:10:14 UTC 2009


Package: nautilus
Version: 2.24.2-3
Severity: normal

I have access to subfolders of a Windows 2003 CIFS service:

    //servername/servicename/subfolder

However, I do not have permission to enumerate the contents
of the root-folder (whatever is presented at
//servername/servicename).

Using smbclient, I can access the subfolder directly via

    smbclient //servername/servicename -D subfolder

If I omit -D,

    $ smbclient -U njd33 //turret1/iss
    Enter njd33's password: 
    Domain=[CAMPUS] OS=[Windows Server (R) 2008 Enterprise 6001 Service Pack 1] Server=[Windows Server (R) 2008 Enterprise 6.0]
    smb: \> ls
    NT_STATUS_ACCESS_DENIED listing \*

            44698 blocks of size 33554432. 14988 blocks available
    smb: \> cd unix
    smb: \unix\> ls
    (WORKS)

(in the above example, server = turret1, service = iss,
subfolder = unix)

It does not seem possible to connect to this subfolder
using nautilus. If I select "Connect to Server" from Places
and fill in the fields as described (with the share being
servicename and folder the subfolder which I have
permissions within), I get repeated requests for my
password. If I eventually give up supplying these and
select cancel, I get a popup containing

    Cannot display location "smb://CAMPUS;njd33@campus/dept/iss/unix"
    Failed to mount Windows share

At my workplace this share is also exported as a DFS path
//campus/dept/iss/unix (so the 'iss' folder here is a
subfolder of the root-level service, rather than the
root-level service itself). I *do* have permissions to read
the contents of the 'dept' service: the following works
(and I can do 'ls'):

    smbclient -U njd33 //campus/dept

attempting Server campus, share dept, no folder via "Connect
to Server" results in a popup

    Cannot display location "smb://njd33@campus/dept/"
    Failed to mount Windows share

I can't explain why that doesn't work since I can read
'dept' fine. I realise that the permissions in the former
case (no read access for the service-level folder but
permissions in a subfolder) do not make a great deal of
sense: however, that's what I'm stuck with...

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nautilus depends on:
ii  desktop-file-utils         0.15-1        Utilities for .desktop files
ii  gnome-control-center       1:2.24.0.1-2  utilities to configure the GNOME d
ii  gvfs                       1.0.3-3       userspace virtual filesystem - ser
ii  libatk1.0-0                1.24.0-2      The ATK accessibility toolkit
ii  libbeagle1                 0.3.9-1       library for accessing beagle using
ii  libbonobo2-0               2.24.1-1      Bonobo CORBA interfaces library
ii  libc6                      2.9-7         GNU C Library: Shared libraries
ii  libcairo2                  1.8.6-2+b1    The Cairo 2D vector graphics libra
ii  libeel2-2.24               2.24.1-2      Eazel Extensions Library (for GNOM
ii  libexempi3                 2.1.0-3       library to parse XMP metadata (Lib
ii  libexif12                  0.6.16-2.1    library to parse EXIF files
ii  libgail-common             2.14.7-5      GNOME Accessibility Implementation
ii  libgail18                  2.14.7-5      GNOME Accessibility Implementation
ii  libgconf2-4                2.24.0-7      GNOME configuration database syste
ii  libglade2-0                1:2.6.4-1     library to load .glade files at ru
ii  libglib2.0-0               2.20.0-2      The GLib library of C routines
ii  libgnome-desktop-2-7       2.24.3-1      Utility library for loading .deskt
ii  libgnome2-0                2.24.1-2      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0          2.20.1.1-1    A powerful object-oriented display
ii  libgnomeui-0               2.24.1-1      The GNOME 2 libraries (User Interf
ii  libgtk2.0-0                2.14.7-5      The GTK+ graphical user interface 
ii  libnautilus-extension1     2.24.2-3      libraries for nautilus components 
ii  liborbit2                  1:2.14.17-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0              1.24.0-3+b1   Layout and rendering of internatio
ii  librsvg2-2                 2.22.3-2      SAX-based renderer library for SVG
ii  libselinux1                2.0.71-1      SELinux shared libraries
ii  libstartup-notification0   0.9-1         library for program launch feedbac
ii  libtrackerclient0          0.6.92-1      metadata database, indexer and sea
ii  libx11-6                   2:1.2.1-1     X11 client-side library
ii  libxml2                    2.7.3.dfsg-1  GNOME XML library
ii  nautilus-data              2.24.2-3      data files for nautilus
ii  shared-mime-info           0.60-2        FreeDesktop.org shared MIME databa

Versions of packages nautilus recommends:
ii  app-install-dat 2008.11.27               Application Installer Data Files
ii  desktop-base    5.0.5                    common files for the Debian Deskto
ii  eject           2.1.5+deb1+cvs20081104-5 ejects CDs and operates CD-Changer
ii  gnome-mount     0.8-2                    wrapper for (un)mounting and eject
ii  gvfs-backends   1.0.3-3                  userspace virtual filesystem - bac
ii  librsvg2-common 2.22.3-2                 SAX-based renderer library for SVG
ii  nautilus-cd-bur 2.24.0-2                 CD Burning front-end for Nautilus
ii  synaptic        0.62.5                   Graphical package manager
ii  xdg-user-dirs   0.10-1                   tool to manage well known user dir

Versions of packages nautilus suggests:
ii  eog                          2.24.3.1-1  Eye of GNOME graphics viewer progr
ii  evince [pdf-viewer]          2.24.2-2+b1 Document (postscript, pdf) viewer
ii  totem                        2.24.3-3    A simple media player for the GNOM
pn  tracker                      <none>      (no description available)

-- no debconf information

-- 
Jon Dowland
Information Systems and Services
Newcastle University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090617/d8f04a59/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list