should not list mounts that the user doesn't have permission to use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs |
Fix Released
|
Medium
|
|||
glib2.0 (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt | ||
Hardy |
Won't Fix
|
Low
|
Martin Pitt | ||
ltspfs (Ubuntu) |
Fix Released
|
Medium
|
Oliver Grawert | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gvfs
Hi,
As per the comment from Seb Bacher (see https:/
After upgrading to Hardy, all 3 of my network drive maps (mounted via /etc/fstab) are shown as icons on the desktop to both my users, when on Gutsy it only showed icons for the drives I (andy) had permissions to read, and the same (in reverse) for my second user (jo). The share I don't have permissions to won't actually open (which is exactly correct), but the icons are still shown on the desktop for all 3.
My /etc/fstab file is as follows :-
#Andy's Network Drives
//buffalo/shared /media/
//buffalo/andy /media/AndyDocs cifs credentials=
#Jo's Network Drives
//buffalo/jo /media/JoDocs cifs credentials=
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 gvfs
gvfs:
Installed: 0.2.2svn2008033
Candidate: 0.2.2svn2008033
Version table:
*** 0.2.2svn2008033
500 http://
100 /var/lib/
andy@andy-laptop:~$ apt-cache policy gvfs-backends
gvfs-backends:
Installed: 0.2.2svn2008033
Candidate: 0.2.2svn2008033
Version table:
*** 0.2.2svn2008033
500 http://
100 /var/lib/
andy@andy-laptop:~$
Changed in gvfs: | |
status: | Unknown → Fix Released |
Changed in gvfs: | |
status: | Fix Released → New |
Changed in glib2.0: | |
milestone: | ubuntu-8.04.1 → none |
Changed in gvfs: | |
status: | New → Fix Released |
Changed in gvfs: | |
importance: | Unknown → Medium |
This shows the permissions on the mounted drives. As you'll see I shouldn't get an icon on my desktop for "JoDocs", and jo shouldn't get icons for "AndyDocs" or "AndySharedDocs"
andy@andy- laptop: /media$ ls -al
total 20
drwxr-xr-x 8 root root 4096 2008-04-03 21:25 .
drwxr-xr-x 21 root root 4096 2008-04-03 21:20 ..
drwx--x--x 26 andy andy 0 2008-04-03 20:27 AndyDocs
drwx------ 9 andy andy 0 2008-03-28 17:34 AndySharedDocs
drwx------ 10 jo jo 0 2008-03-29 13:57 JoDocs
(I've deleted cdrom0 etc. from the output to make it easier to read)
Also gvfs has been updated. New versions show below. I still have the issue though. 3-0ubuntu1 3-0ubuntu1 3-0ubuntu1 0 gb.archive. ubuntu. com hardy/main Packages dpkg/status 3-0ubuntu1 3-0ubuntu1 3-0ubuntu1 0 gb.archive. ubuntu. com hardy/main Packages dpkg/status
andy@andy-laptop:~$ apt-cache policy gvfs
gvfs:
Installed: 0.2.2svn2008040
Candidate: 0.2.2svn2008040
Version table:
*** 0.2.2svn2008040
500 http://
100 /var/lib/
andy@andy-laptop:~$ apt-cache policy gvfs-backends
gvfs-backends:
Installed: 0.2.2svn2008040
Candidate: 0.2.2svn2008040
Version table:
*** 0.2.2svn2008040
500 http://
100 /var/lib/