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 146185 - get_folder() should return error on unviewable directory
get_folder() should return error on unviewable directory
Status: RESOLVED FIXED
Product: libgnomeui
Classification: Deprecated
Component: file-chooser
unspecified
Other All
: High major
: 2.6.0
Assigned To: Federico Mena Quintero
Federico Mena Quintero
: 140095 145122 150852 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-07-09 01:07 UTC by Federico Mena Quintero
Modified: 2005-01-25 04:43 UTC
See Also:
GNOME target: 2.6.next
GNOME version: 2.9/2.10



Description Federico Mena Quintero 2004-07-09 01:07:42 UTC
See bug #139290.  gtk_file_system_gnome_vfs_get_folder() should return an error
in case the user doesn't have permissions to read the directory.

[How can we know this from gnome_vfs_monitor?]
Comment 1 Federico Mena Quintero 2004-07-21 01:55:52 UTC
*** Bug 145122 has been marked as a duplicate of this bug. ***
Comment 2 Federico Mena Quintero 2004-07-21 03:05:53 UTC
*** Bug 140095 has been marked as a duplicate of this bug. ***
Comment 3 Federico Mena Quintero 2004-07-21 04:14:10 UTC
Man, does FAM ever suck.  We don't get useful error codes from it, so we must do
these kinds of tests on our own.

Code is in place now to check whether the path actually exists and to see
whether it is actually a folder.  This is in the gnome-2-6 and HEAD branches.

I still need to do the permissions check.
Comment 4 Federico Mena Quintero 2004-08-24 22:05:46 UTC
*** Bug 150852 has been marked as a duplicate of this bug. ***
Comment 5 Federico Mena Quintero 2005-01-05 00:59:21 UTC
About the permissions check, see comment #2 in bug #162617.
Comment 6 Luis Villa 2005-01-25 04:43:21 UTC
I'm guessing this is closed, given Federico's comments in bug 162617. Federico,
can you reopen if I'm an idiot?