After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 600139 - Epiphany doesn't warn about permissions problems with download folder
Epiphany doesn't warn about permissions problems with download folder
Status: RESOLVED OBSOLETE
Product: epiphany
Classification: Core
Component: Downloads
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 625254 (view as bug list)
Depends on:
Blocks: 755382
 
 
Reported: 2009-10-30 15:39 UTC by Pacho Ramos
Modified: 2018-08-03 19:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
e-download: catch and show destination errors (1.93 KB, patch)
2011-07-28 23:12 UTC, Diego Escalante Urrelo (not reading bugmail)
reviewed Details | Review
e-download: catch and show destination errors (3.38 KB, patch)
2012-08-02 14:59 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
e-download: catch and show destination errors (3.37 KB, patch)
2012-08-02 15:12 UTC, Diego Escalante Urrelo (not reading bugmail)
needs-work Details | Review

Description Pacho Ramos 2009-10-30 15:39:12 UTC
Simple launch preferences and set download folder to, for example "/" or any directory where you are unable to write due insufficent permissions. Then, try to download something like:
http://download.opensuse.org/factory/repo/src-oss/suse/src/CASA_auth_token_server-1.7.1587-2.7.src.rpm

You will see that nautilus window is opened but, of course, file is missing

From my point of view, user should be warned about insufficent permissions problems

Thanks
Comment 1 Fabio Durán Verdugo 2009-10-31 02:36:58 UTC
change the directory from Edit > Preferences > Download Folder

if you problem is or not resolved please coment, thank
Comment 2 Pacho Ramos 2009-10-31 10:19:03 UTC
Obviously it works if I select a folder with enough permissions, but the bug is about epiphany should warn about permissions not being proper instead of silently fail to download
Comment 3 Wouter Bolsterlee (uws) 2010-01-02 17:15:55 UTC
Confirming, an error message should be shown instead.
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2011-07-28 23:04:23 UTC
*** Bug 625254 has been marked as a duplicate of this bug. ***
Comment 5 Diego Escalante Urrelo (not reading bugmail) 2011-07-28 23:12:04 UTC
Created attachment 192840 [details] [review]
e-download: catch and show destination errors

Handle WEBKIT_DOWNLOAD_ERROR_DESTINATION errors with a nice GtkInfoBar
suggesting the user to check the folder permissions.

We could also handle network disconnection and other errors, but those
should be much more obvious. Permission problems are currently not
reported and, worse, appear as succesful downloads.

Bug #600139
Comment 6 Xan Lopez 2012-08-01 10:25:27 UTC
Review of attachment 192840 [details] [review]:

Makes sense to me in general, assuming it still applies!

::: embed/ephy-download.c
@@ +945,3 @@
+                      G_CALLBACK (gtk_widget_destroy), NULL);
+
+    label = gtk_label_new ("Couldn't start the download, verify that you can create files in the downloads folder");

Not marked for translation?
Comment 7 Diego Escalante Urrelo (not reading bugmail) 2012-08-02 14:59:39 UTC
Created attachment 220157 [details] [review]
e-download: catch and show destination errors

Handle WEBKIT_DOWNLOAD_ERROR_DESTINATION errors with a nice GtkInfoBar
suggesting the user to check the folder permissions.

We could also handle network disconnection and other errors, but those
should be much more obvious. Permission problems are currently not
reported and, worse, appear as succesful downloads.
Comment 8 Diego Escalante Urrelo (not reading bugmail) 2012-08-02 15:12:10 UTC
Created attachment 220159 [details] [review]
e-download: catch and show destination errors

Handle WEBKIT_DOWNLOAD_ERROR_DESTINATION errors with a nice GtkInfoBar
suggesting the user to check the folder permissions.

We could also handle network disconnection and other errors, but those
should be much more obvious. Permission problems are currently not
reported and, worse, appear as succesful downloads.

===

Updated to use GtkOrientable API and destroy the GtkInfoBar in both
responses.
Comment 9 Michael Catanzaro 2015-09-11 02:52:45 UTC
Review of attachment 220159 [details] [review]:

We need to update this for WebKit2.
Comment 10 GNOME Infrastructure Team 2018-08-03 19:26:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/epiphany/issues/135.