GNOME Bugzilla – Bug 563208
file-roller can't extract to an ftp mounted directory
Last modified: 2009-01-19 12:53:04 UTC
Please describe the problem: I'm managing my ftp uploads with nautilus, which mounts ftp directories as mounts. However, when I extract files from file-roller, I can't select as destination directory an ftp mounted directory. file-roller tells me: You don't have the right permissions to extract archives in the folder "ftp://my.ftp.server/" Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 125476 [details] [review] Check permission bug fix When the gvfs back-end (like ftp or smb) does not implement the access attributes, file-roller tries to read the attributes anyway. The result is that file-roller defaults to 'no-permission' when the permission can not be determined (because the back-end can not determine the permission, and as a result does not implement the access attributes). Solution is to let file-roller default to 'have-permission' when the access attributes are not available. This way we can still extract to locations where the permissions can not be determined, like in the case of the ftp or smb back-ends (the extraction fails with a nice error dialog anyway when extraction can not write files to the destination). Also note that file-roller "checked" for execute permissions, which I think are not necessary (removed those in this patch).
Created attachment 125485 [details] [review] Check permission bug fix Copy/paste error in last patch.
patch applied to trunk, thanks.