Comments (4)
Sorry, I don't have Office, so I can't try it directly. Could you please do this test? Save the file on your filesystem, then copy it to the mounted directory. Is it still corrupted?
from google-drive-ocamlfuse.
Hi,
When I save it to the local directory, I make a note of its MD5 sum. I copy it to the mounted directory, and it keeps the MD5 sum. Both the original local and remote files can open fine.
If, instead, I save to the mounted directory, and then copy that file locally, both remote and local files have same MD5 sum and both are corrupt.
It seems it is the save process that causes the corruption. I have noticed that word does "odd" (but legal) tricks with saving to short-lived/temporary files in the same dir as the file during the save process.
Microsoft's Description of how Word creates temporary files e.g. says:
By saving to a temporary file first and then renaming the file to the proper name, Word ensures the data integrity of your original file against problems (such as a power failure or lost network connections) that may occur while the file is being written.
from google-drive-ocamlfuse.
I've also run it like so:
google-drive-ocamlfuse -debug -d <mountpoint> 2>&1 | tee google-drive-ocamlfuse.log
to give you detailed log on what is going on. Email me privately at [email protected], and I'll send you the log file, and a movie of what is going on in the GUI.
However, now it fails in another way. Instead of Word silently declaring the save a success, and then discovering corruption during open of the saved file, it now discovers the fail during save, asks for a new file name to save under, but still fails again. After that, Word gives up saving.
For some reason, after a few tries, I cannot reproduce my first scenario, but only this new one. Either way, though, Word is not able to save to a google-drive-ocamlfuse mountpoint.
from google-drive-ocamlfuse.
I can confirm that after commit 9d11a75 (in version 0.4.4), this issue has been resolved for me. Thanks, Alessandro
from google-drive-ocamlfuse.
Related Issues (20)
- Mount not updating HOT 1
- "Transport endpoint is not connected" when not using "-debug" mode !? HOT 14
- File Download in Ocamlfuse mounted storage
- Massive memory consumption. HOT 3
- Access to shared folder possible? HOT 1
- team drive not working? HOT 1
- "This file has been locked by another user." LibreOffice.
- out of band flow migration issue HOT 1
- Access multiple folders within a team-drive
- Disable Google App Engine OAuth proxy HOT 1
- Deadlocked file managers HOT 1
- Does not copy content correctly
- Using app password instead of OAuth HOT 1
- Unable to mount Drive without OAuth 2.0 HOT 1
- Documentation: Update wiki/Usage documentation with note that secret credentials will be stored in bash/zsh/etc history HOT 1
- Authorization fails if a process is already bound to 127.0.0.1:8080 HOT 1
- Mounting Google Drive no longer works after changing password. HOT 2
- Mount failing with segfault after updating Ubuntu 22.04 HOT 13
- Question: how to configure systemd to unload/load service on suspend/resume
- not logging in after update HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-drive-ocamlfuse.