posix apis unreliable on files mounted over gvfs, e.g. truncate, open, causes OpenOffice.org to fail to save
Bug #317587 reported by
Chris Cheney
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Fedora) |
Fix Released
|
Medium
|
|||
gvfs (Suse) |
Fix Released
|
High
|
|||
gvfs (Ubuntu) |
Fix Released
|
High
|
Ubuntu Desktop Bugs | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
Intrepid |
Invalid
|
High
|
Unassigned | ||
Jaunty |
Fix Released
|
High
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gvfs
This bug that Caolan (RedHat) mentioned to me may be the cause of most of the problems with OOo working via gvfs filesystems.
https:/
Pay particular attention to the test program and the last few comments on the bug.
Related branches
Changed in gvfs: | |
importance: | Undecided → High |
milestone: | none → jaunty-alpha-4 |
status: | New → Confirmed |
Changed in gvfs: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in gvfs: | |
assignee: | nobody → desktop-bugs |
milestone: | jaunty-alpha-4 → ubuntu-9.04-beta |
status: | Confirmed → Triaged |
Changed in gvfs: | |
status: | Unknown → Confirmed |
Changed in gvfs: | |
status: | Unknown → In Progress |
Changed in gvfs: | |
status: | Confirmed → In Progress |
Changed in gvfs: | |
status: | In Progress → Fix Committed |
Changed in gvfs: | |
status: | Fix Committed → Fix Released |
Changed in gvfs (Suse): | |
status: | In Progress → Incomplete |
Changed in gvfs (Suse): | |
status: | Incomplete → In Progress |
Changed in gvfs (Suse): | |
importance: | Unknown → High |
status: | In Progress → Fix Released |
Changed in gvfs (Fedora): | |
importance: | Unknown → Medium |
To post a comment you must log in.
Created an attachment (id=265640)
standalone testcase (testme.c)
This bug is originally reported at https:/ /bugzilla. redhat. com/show_ bug.cgi? id=479199. I have reproduced it on openSUSE-11.1 and SLED11-rc1 as well.
The posix functions (e.g. ftruncate) do not work correctly on files that are mouted over gvfs (e.g. ssh:// or smb:// or sftp://). It breaks OpenOffice.org to save files.
The problem could be reproduced by a standalone test-case created by Caolan McNamara (Red Hat developer).
Steps to reproduce:
gcc testme.c
cd /tmp
echo test > test.txt
~/a.out
size is 0
(all ok)
cd ~/.gvfs/sftp for somewhere...
echo test > test.txt
~/a.out
size is 5
truncate claimed to work, but file size is still 5
can't open test.txt
: No such file or directory