[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
thank you for your bug report, that's because you don't have a normal session and the gvfs server running, that's not a bug, running graphical applications under sudo is not recommended and that will not be worked ** Changed in: nautilus (Ubuntu) Importance: Undecided = Low ** Changed in: nautilus (Ubuntu) Status: New = Invalid ** Changed in: nautilus (Ubuntu) Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
Sebastien, what about the Software Souces use case? That tool is started using gksu. The same problem can also be found in Synaptic, for instance. All the admin tools which needs to save/load any file could have the same issue. And the issue is not in Hardy, so it could be considered a regression. -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
dunno about those what you described is a nautilus bug, synaptic doesn't list devices -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
Sorry, maybe I have not explain it well. The issue can be reproduced using any admin tool which needs to use the file dialog. Examples: - System-Administration-Software Sources, Authentication tab, and click on Import Key File... button. A file dialog appears, with device names in the Places sidebar. (You can see an screenshot in http://launchpadlibrarian.net/25698461/software-sources-import-key.png ) - System-Administration-Synaptic Package Manager, click on File-Generate package download script, and then click on Browse for other folders. Again, device names are shown in the Places sidebar. (I attach an screenshot.) According to that, I realized now that it seems to be a Gtk (or something similar) issue, not a Nautilus issue. Hope this is better explained than before. Thanks in advance. ** Attachment added: synaptic-save-script.png http://launchpadlibrarian.net/25699971/synaptic-save-script.png -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
the screenshot shows a gtk fileselector which has nothing to do with nautilus, as said the issue is that gvfs is not running for that user and the way is to no use sudo to run graphical tools, there is probably bugs about that on those softwares -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
Thanks for the reply. May I change the affected package from Nautilus to libgtk1.2, synaptic or something similar? Or may I need to open a new bugreport? Software Sources and Synaptic uses gksu in order to do admin tasks (in Hardy too, and Hardy does not have the issue). Thanks again. -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
not sure how hardy works but gvfs is supposed to provide those informations and is not running, as said those applications should not run using sudo which is the bug no need to have an another one ** Package changed: nautilus (Ubuntu) = gtk+2.0 (Ubuntu) -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
For your reference, this is how Hardy looks in my laptop when I select Software Sources-Authentication-Import Key File. The device names are all humanized. ** Attachment added: Screenshot.png http://launchpadlibrarian.net/25705446/Screenshot.png -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
I've tried the following: 1. In one terminal window, I do: $ sudo /usr/lib/gvfs/gvfsd Now I can see a gvfsd daemon running as root user: $ ps aux | grep gvfsd$ ricardo 6513 0.0 0.2 6832 2200 ?S18:53 0:00 /usr/lib/gvfs/gvfsd root 7972 0.0 0.2 6700 2104 ?S19:22 0:00 /usr/lib/gvfs/gvfsd 2. In another terminal window, I type: $ gksu /usr/bin/zenity --file- selection However, the problem is still present. I can't see why Hardy's behavior is right and Jaunty's behavior isn't. I would like to investigate a bit more, but I haven't the enough knowledge to do that. -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
you seem to really be focussing on that, stop using sudo to run graphical softwares? anyway hardy was using the libgnomeui fileselector backend and gvfs was new, since the gtkfileselector has been rewritten in gtk to use gio directly -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 363317] Re: Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights
Well, at the end I can see several thing: - The issue is in Intrepid, too. - Your last comment obviously explain the root of the problem, and why Hardy behaves different than Intrepid Jaunty. - Both Synaptic and Software Sources uses gksu by default. Maybe they need to migrate to PolicyKit or similar, in order to avoid the use of sudo/gksu. But that should be another bugreport. Thanks very much for the explanation and following of this bug. -- Nautilus uses device names (floppy0, sda1) instead of humanized names (Floppy Drive, 151.8 GB Media) when running with admin rights https://bugs.launchpad.net/bugs/363317 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs