nautilus opens folder for mapped drives

Bug #209926 reported by Andy Stallwood
2
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

Hi,
I have a problem with Hardy (http://ubuntuforums.org/showthread.php?t=679973).

After upgrading to Hardy, when my network hard drives are mounted from the network via /etc/fstab, it opens a nautilus window to display the contents.

My /etc/fstab file is as follows :-

#Andy's Network Drives
//buffalo/shared /media/AndySharedDocs cifs credentials=/root/.andycredentials,iocharset=utf8,uid=andy,gid=andy,dir_mode=0700,file_mode=0700 0 0
//buffalo/andy /media/AndyDocs cifs credentials=/root/.andycredentials,iocharset=utf8,uid=andy,gid=andy,dir_mode=0700,file_mode=0700 0 0
#Jo's Network Drives
//buffalo/jo /media/JoDocs cifs credentials=/root/.jocredentials,iocharset=utf8,uid=jo,gid=jo,dir_mode=0700,file_mode=0700 0 0

Output from the 2 commands :-

andy@andy-laptop:~$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04
andy@andy-laptop:~$ apt-cache policy nautilus
nautilus:
  Installed: 1:2.22.1-0ubuntu1
  Candidate: 1:2.22.1-0ubuntu1
  Version table:
 *** 1:2.22.1-0ubuntu1 0
        500 http://gb.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status
andy@andy-laptop:~$

Cheers

Andy

ProblemType: Bug
Architecture: i386
Date: Mon Mar 31 21:56:43 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: ath_hal
Package: nautilus 1:2.22.1-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux 2.6.24-12-generic i686

Tags: apport-bug
Revision history for this message
Andy Stallwood (andy-stallwood) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find. Could you open an another bug on gvfs about not displaying share when the user has not the correct permissions to use those?

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Invalid
status: Invalid → New
status: New → Invalid
Revision history for this message
Andy Stallwood (andy-stallwood) wrote : Re: [Bug 209926] Re: nautilus opens folder for mapped drives and displays icons on desktop for non-permissioned maps

Hi Seb,
Thanks for the email, and such a quick response. I will raise another
bug on gvfs for the display of shares that the user doesn't have
permissions for.
Can you let me know which bug the "opening of shares when they are
mounted" bug, is is a duplicate of, so that I can track the progress of it.

Cheers

Andy

Sebastien Bacher wrote:
> Thanks for the bug report. This particular bug has already been
> reported, but feel free to report any other bugs you find. Could you
> open an another bug on gvfs about not displaying share when the user has
> not the correct permissions to use those?
>
> ** Changed in: nautilus (Ubuntu)
> Importance: Undecided => Low
> Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)
> Status: New => Invalid
>
> ** Changed in: nautilus (Ubuntu)
> Status: Invalid => New
>
> ** Changed in: nautilus (Ubuntu)
> Status: New => Invalid
>
>

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: nautilus opens folder for mapped drives and displays icons on desktop for non-permissioned maps

there is several bugs about the issue, it's similar to bug #201520

description: updated
Revision history for this message
Andy Stallwood (andy-stallwood) wrote :

Hi Seb,
Thanks for all your help so far. Now that bug 201520 is fixed, and the update applied, I still have the problem. My problem does appear to be slightly different to 201520 (although quite similar) as it is cifs (network) drives which open a folder view for me, not local disks.

I don't need to reboot to re-create the problem, as it opens the folders for view if I do a "umount -a" followed by a "mount -a".

Also, one more piece of info is that I use wireless, which means that my network connection doesn't come active until after I log-on, and hence the drives aren't mounted until after log-on either.

I've applied the latest nautilus patch :-
andy@andy-laptop:~$ apt-cache policy nautilus
nautilus:
  Installed: 1:2.22.2-0ubuntu2
  Candidate: 1:2.22.2-0ubuntu2
  Version table:
 *** 1:2.22.2-0ubuntu2 0
        500 http://gb.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Hope you can help.

Cheers
Andy

Revision history for this message
Andy Stallwood (andy-stallwood) wrote :

Hi,
This has now been fixed in nautilus 1:2.22.2-0ubuntu4:

" * debian/patches/90_from_upstream_fix_autorun.patch:
    - change from upstream to make nautilus use autorun only on things which nautilus is automounting, fix nautilus views being opened when something is mounted on the command line, rhythmbox being started on login when an audio cd is in the drive and some other similar issues"

Andy

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.