Activity log for bug #1598183

Date Who What changed Old value New value Message
2016-07-01 14:12:02 Dariusz Gadomski bug added bug
2016-07-01 14:12:16 Dariusz Gadomski tags sts
2016-07-01 14:12:51 Dariusz Gadomski tags sts regression-release sts
2016-07-01 14:13:12 Dariusz Gadomski description Platform: Ubuntu from 14.10+ Steps to reproduce: 1. Setup a gvfs mount (I used smb and sftp shares configured via nautilus). 2. Create a symlink to the fuse-mounted location e.g. cd ~/Desktop; ln -sf /run/user/1000/gvfs/smb-share:server=10.0.20.6,share=share1/symlinktest 3. Navigate with nautilus to the symlinked location, open a file available there with e.g. gedit or libreofficeand try to save it. Expected result: File is saved. Actual result: An enigmatic error message is displayed (Cannot handle "file:" locations in write mode - for gedit, or "General input/output error while accessing <path>" for libreoffice). The problems started with commit 548ba46c2ba51c4ec5b0dd8442b476f3a2a7000b fuse: Don't g_file_append_to unless O_APPEND is given. Reverting it makes the issue disappear. I have rebuild gvfs enabling debugging (#define DEBUG_ENABLED 1) and here is what I got in ~/vfs.debug: # accessing via symlink vfs_open: /smb-share:server=10.0.20.6,share=share1/grouptest/symlinktest/test open_common: flags=500002 vfs_open: -> Operation not supported # accessing via /run/user/(...) vfs_open: /smb-share:server=10.0.20.6,share=share1/grouptest/symlinktest/test open_common: flags=1100000 setup_input_stream: have stream setup_input_stream: doing read vfs_open: -> Success For reasons beyond my understanding the flags are different while accessing the file via the default gvfs-mountpoint causing the execusion to skip the modified section of client/gvfsdfusedaemon.c (returning -ENOTSUP). I am attaching the full vfs.debug created. Collapse All Comments Expand All Comments Add Comment Affected releases: Ubuntu from 14.10+ (14.04 was working fine) Steps to reproduce: 1. Setup a gvfs mount (I used smb and sftp shares configured via nautilus). 2. Create a symlink to the fuse-mounted location e.g. cd ~/Desktop; ln -sf /run/user/1000/gvfs/smb-share:server=10.0.20.6,share=share1/symlinktest 3. Navigate with nautilus to the symlinked location, open a file available there with e.g. gedit or libreofficeand try to save it. Expected result: File is saved. Actual result: An enigmatic error message is displayed (Cannot handle "file:" locations in write mode - for gedit, or "General input/output error while accessing <path>" for libreoffice). The problems started with commit 548ba46c2ba51c4ec5b0dd8442b476f3a2a7000b fuse: Don't g_file_append_to unless O_APPEND is given. Reverting it makes the issue disappear. I have rebuild gvfs enabling debugging (#define DEBUG_ENABLED 1) and here is what I got in ~/vfs.debug: # accessing via symlink vfs_open: /smb-share:server=10.0.20.6,share=share1/grouptest/symlinktest/test open_common: flags=500002 vfs_open: -> Operation not supported # accessing via /run/user/(...) vfs_open: /smb-share:server=10.0.20.6,share=share1/grouptest/symlinktest/test open_common: flags=1100000 setup_input_stream: have stream setup_input_stream: doing read vfs_open: -> Success For reasons beyond my understanding the flags are different while accessing the file via the default gvfs-mountpoint causing the execusion to skip the modified section of client/gvfsdfusedaemon.c (returning -ENOTSUP). I am attaching the full vfs.debug created. Collapse All Comments Expand All Comments Add Comment
2016-07-01 14:13:26 Dariusz Gadomski nominated for series Ubuntu Xenial
2016-07-01 14:13:26 Dariusz Gadomski nominated for series Ubuntu Yakkety
2016-07-01 14:13:26 Dariusz Gadomski nominated for series Ubuntu Wily
2016-07-01 14:21:51 Dariusz Gadomski bug watch added https://bugzilla.gnome.org/show_bug.cgi?id=768281
2016-07-01 14:21:51 Dariusz Gadomski bug task added gvfs
2016-07-01 14:53:17 Launchpad Janitor gvfs (Ubuntu): status New Confirmed
2016-07-01 15:24:35 Bug Watch Updater gvfs: status Unknown Confirmed
2016-07-01 15:24:35 Bug Watch Updater gvfs: importance Unknown Medium
2016-08-30 15:38:16 Jeremy BĂ­cha bug task added gvfs (Ubuntu Xenial)
2016-09-01 17:07:28 Launchpad Janitor gvfs (Ubuntu Xenial): status New Confirmed
2016-09-03 08:00:29 prof2004 bug added subscriber prof2004
2016-10-24 14:45:35 Maxxer bug added subscriber Maxxer
2017-07-16 18:22:27 R. Diez bug added subscriber R. Diez
2018-11-07 19:33:01 Bug Watch Updater gvfs: status Confirmed Expired
2018-11-08 07:35:26 Dariusz Gadomski nominated for series Ubuntu Cosmic
2018-11-08 07:35:26 Dariusz Gadomski nominated for series Ubuntu Bionic
2019-04-09 17:33:47 David Negreira bug added subscriber David Negreira