[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2011-01-10 Thread Bug Watch Updater
** Changed in: nautilus
   Status: Unknown => New

** Changed in: nautilus
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/543042

Title:
  pressing CANCEL in policykit super user "mount dialog" shows silly error 
message

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-12-30 Thread Milan Bouchet-Valat
** Changed in: nautilus (Ubuntu)
   Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/543042

Title:
  pressing CANCEL in policykit super user "mount dialog" shows silly error 
message

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-12-30 Thread Milan Bouchet-Valat
** Bug watch added: GNOME Bug Tracker #638375
   https://bugzilla.gnome.org/show_bug.cgi?id=638375

** Also affects: nautilus via
   https://bugzilla.gnome.org/show_bug.cgi?id=638375
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/543042

Title:
  pressing CANCEL in policykit super user "mount dialog" shows silly error 
message

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-12-30 Thread leighman
The dialog is still shown when pressing cancel in Maverick although the
phrasing has been changed as per the linked bug.

** Changed in: nautilus (Ubuntu)
   Status: Expired => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/543042

Title:
  pressing CANCEL in policykit super user "mount dialog" shows silly error 
message

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-12-26 Thread Launchpad Bug Tracker
[Expired for nautilus (Ubuntu) because there has been no activity for 60
days.]

** Changed in: nautilus (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/543042

Title:
  pressing CANCEL in policykit super user "mount dialog" shows silly error 
message

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-10-15 Thread Pedro Villavicencio
** Changed in: nautilus (Ubuntu)
   Status: New => Incomplete

** Changed in: hundredpapercuts
   Status: Incomplete => Invalid

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-10-15 Thread Pedro Villavicencio
Thank you for taking the time to report this bug and helping to make
Ubuntu better. A new version of Nautilus is available on Maverick and we
are wondering if this bug is still an issue for you with that version?
Could you please test and comment back? Thanks in advance.

** Changed in: hundredpapercuts
   Status: Invalid => Incomplete

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-04-10 Thread Vish
Marking papercut task invalid as per comment #5.

** Changed in: hundredpapercuts
   Status: New => Invalid

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-03-29 Thread Martin Olsson
I tried "sudo killall polkitd" and that wasn't enough to repro it, it
stills opens the drive mounted using some cached password. I also tried
using the guest session but then the external drive doesn't show up
under Places at all.

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-03-29 Thread Milan Bouchet-Valat
Martin: I guess you can simply run 'sudo killall polkitd', and it will
forget your authentication.

One would have to check whether gvfs actually redirects
POLKIT_ERROR_CANCELLED to G_IO_ERROR_CANCELLED, and if so, then add it
to the ignore case in Nautilus. Or simply add that condition in
Nautilus, and see if it works! If it's not the case, it would be worth
considering canceled authentication as G_IO_ERROR_FAILED_HANDLED, which
seems to be intended for this case.

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-03-28 Thread Martin Olsson
I found some more clues concerning this bug.

@Milan, first I suppose the communication here happens "nautilus <-->
GVFS <--> policykit". I can see that the "nautilus" package depends on
the "gvfs" package which in turn depends on the "policykit-1-gnome"
package. When I grep in the "policykit-1-gnome" package source I find
one reference to the string "OLKIT_ERROR". Also, from grepping in the
nautilus code, I believe that the silly message dialog originates from
this place: nautilus-2.29.92.1/libnautilus-private/nautilus-file-
operations.c:2306

The nautilus code says "show error for all error codes except 
G_IO_ERROR_FAILED_HANDLED", but that means it does show an error message for 
the error code "G_IO_ERROR_CANCELLED". I don't know which error code is 
actually being handed to nautilus here, I'm just speculating based on the GIO 
docs:
http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#GIOErrorEnum

It would be interesting to put some debug statements into this source
location or maybe some breakpoints. However, in that case I must be able
to repro this bug which I can't right now. Because policykit has now
cached my password so I'm not prompted for it anymore when I open
Places::DiskDrive.

How can I make policykit forget this cached password so I get the
password prompt again?

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-03-28 Thread Milan Bouchet-Valat
Moving to nautilus, as PolicyKit itself provides a way to know whether 
authentication was canceled or whether it failed. See POLKIT_ERROR_CANCELLED, 
which is the GError returned by polkit_authority_check_authorization_finish(),
 at http://hal.freedesktop.org/docs/polkit/polkit-1-polkiterror.html.

So the problem may be with Nautilus not checking that value, or with the
backend that Nautilus calls not returning that value as a special case.
In the first case, that's a paper cut, in the latter, it's more complex.

** Package changed: policykit-1-gnome (Ubuntu) => nautilus (Ubuntu)

** Changed in: nautilus (Ubuntu)
   Importance: Undecided => Low

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-03-22 Thread James Westby
On Mon, 22 Mar 2010 09:41:31 -, David Siegel  
wrote:
> Very good catch, I've been meaning to report this for a while. I do
> suspect that it is not a paper cut as it may not be trivial to fix.

Indeed. The caller can't distinguish between cancel and an error.

I don't know if this is a concious decision for some sort of security
consideration, so I would be reluctant to change it without some
discussion with upstream. It is however more than a few minutes work,
and not really appropriate for this point in a release cycle anyway.

Thanks,

James

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-03-22 Thread David Siegel
Very good catch, I've been meaning to report this for a while. I do
suspect that it is not a paper cut as it may not be trivial to fix.

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-03-20 Thread Martin Olsson

** Attachment added: "screenshot of silly error that appears when you press 
CANCEL"
   http://launchpadlibrarian.net/41457486/Screenshot-Error.png

** Also affects: hundredpapercuts
   Importance: Undecided
   Status: New

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-03-20 Thread Martin Olsson

** Attachment added: "screenshot of the authentication dialog"
   http://launchpadlibrarian.net/41457473/AuthenticateNTFS.png

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543042] Re: pressing CANCEL in policykit super user "mount dialog" shows silly error message

2010-03-20 Thread Martin Olsson

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/41456957/Dependencies.txt

-- 
pressing CANCEL in policykit super user "mount dialog" shows silly error message
https://bugs.launchpad.net/bugs/543042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs