feo-cz / win-sshfs

Fork of http://code.google.com/p/win-sshfs/
BSD 3-Clause "New" or "Revised" License
1.28k stars 125 forks source link

Cannot save MSWord #167

Open midusek opened 6 years ago

midusek commented 6 years ago

For issues and bugs please complete maximum information you now in template below.

Fot other types of requests you can remove any section.

If you have tested more versions, fill them all.

Fill instructions: move 'x' in checkboxes and fill parts marked <...>.

NOW REMOVE THIS LINE OF TEXT AND THE PREVIOUS CONTENT.

Technical data

WinSshFS

Dokan driver

Enviroment

Support


Hi, I often edit remote Word document on winsshfs mount. Until recently, I could normally save files. Since some recent Windows update, an attempt to save file causes a message "Word cannot complete the save due to a file permission error". I can Save As the file under different name and Save As it again under the original name so in fact the file is not locked at all. Other software, e.g. VIM, can save files normally. I would be grateful for any help in this issue. Thank you Michal Dusek

brownian-motion commented 6 years ago

Is it possible that the user you're mounted as doesn't have permissions to edit that file?

Can you copy the original file, delete it, and then restore it with the original name?

Alternatively, is there any way you could give us a ls -l printout of your file from a shell on the remote server?

midusek commented 6 years ago

Hi,

Thank you for your reply! I have full access to the mounted drive and I can delete the original file as well as restore it with its original name.

Normally I mount a disk from Windows running bitvise sshd. To make the tests simpler, now I have mounted an Ubuntu computer and done following steps:

1) Using the Windows right-click menu, I created on the mounted drive new Word document: New Microsoft Word Document.docx

2) I opened the document by Word, inserted some blabla word and tried to save. I got the usual error message about missing permissions.

3) Save as "New Microsoft Word Document1.docx" was working normally

4) ls -l from the ubuntu computer shows

ls -l New* /home/dusek 12 -rw-r----- 1 dusek nasinci 11478 Feb 12 12:46 New Microsoft Word Document1.docx 0 -rw-r----- 1 dusek nasinci 0 Feb 12 12:45 New Microsoft Word Document.docx

5) It seems I am only having troubles with Word. Using Notepad or Vim for Windows, I cab create, edit and save files on the mounted drive without any troubles. Unfortunately, most of my work is done in Word.

I will be grateful for any help.

Best regards,

Michal

Is it possible that the user you're mounted as doesn't have permissions to edit that file?

Can you copy the original file, delete it, and then restore it with the original name?

Alternatively, is there any way you could give us a ls -l printout of your file from a shell on the remote server?

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/Foreveryone-cz/win-sshfs/issues/167#issuecomment-3645 00993

curiosity2 commented 6 years ago

Hey, have you solved the problem? I have the same problem with MS Office, but it works well on WPS office, maybe you could try.

midusek commented 6 years ago

Unfortunately, the problem remains. Reporting troubles seems to be wasting of time.