[Solved] OOo 3.0 cannot save to network drive

Discuss setup / installation issues - Add a spell checker, Language pack?
WildSioux
Posts: 5
Joined: Tue Feb 03, 2009 3:00 am

Re: [Solved] OOo 3.0 cannot save to network drive

Post by WildSioux »

@ steveedmonds:

And hopefully for others as well using Linux and having the save problems. I found a solution that works finally (hopefully, haven't restarted my computer). I read through this thread http://ubuntuforums.org/showthread.php?t=288534. And found the "nounix" in my fstab entry allows me to save a openoffice file to my DNS323 NAS.

Since I was having problems with SMB4K (mainly not being able to save). I finally figured out how to mount samba by editing my fstab file. I don't know what nounix means. I just know that it works. Hopefully this works for others as well.
OOo 3.0.X on Mandriva + XP
crosswalkguy
Posts: 1
Joined: Mon Feb 16, 2009 7:35 pm

Re: [Solved] OOo 3.0 cannot save to network drive

Post by crosswalkguy »

My Setup:
OpenOffice 3.0.1 (from repository ppa.launchpad.net/openoffice-pkgs/ubuntu)
Ubuntu 8.10

Scenario: Working with documents on Windows 2003 Server share from my OOo 3.0/Ubuntu 8.10 desktop
Problem: While the file does not open read-only like other reports, I am unable to save _back_ to the file share, receiving the error dialog:

Error saving the document [document name]:
General Error.
General input/output error.

Solution: As described by the others, Instead of accessing file share through Gnome/Nautilus I created an fstab entry for the share:
//[servername]/[sharename] /mnt/[sharename] cifs user=[username],noexec,user,rw,nounix 0 0

Manually mount the share:
# mount /mnt/[sharename]
This will prompt for password. I am sure there is a way to cache the password for an automatic/boot-time mount, I just do not know it.
Now navigate to your files @ /mnt/[sharename]
In fact, I noticed an odd thing. I could then access my files read/write the traditional method as long as it was mounted at the time this way as well.

I thought I would be more specific to help the googlers, I found I wasted a good hour or two coming across similar, but non-relevant solutions.

Cheers,
Matt
BC, Canada
OOo 3.0.X on Ubuntu 8.x + WinXP
scottt
Posts: 3
Joined: Wed Apr 22, 2009 5:40 pm

Re: [Solved] OOo 3.0 cannot save to network drive

Post by scottt »

so I've been watching and waiting on this problem for a few months. Simple workaround: save files locally and copy them to and from SAMBA shares. Very inconvenient.

This solution above seems alright, but I have not gotten those mount parameters working as yet, I'll keep working on that. Really I have 2 questions though:

1. what does the nounix option do? It seems to be undocumented. Not found on samba.org and not found in man page of mount or mount.cifs.

2. What are the OO developers doing to respond to this compatibility they created between OO 3.0 and SAMBA? There seems to be dead silence from the team there as far as I can tell. There is definitely a compatiblity problem and it is definitely something they created. Should they not be fixing something? ?
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] OOo 3.0 cannot save to network drive

Post by acknak »

I'm sure it is frustrating. What's more, it still isn't clear (to me at least) what the exact problem is. Network problems like this tend to be affected by the exact details of the installation, which are different for every network.

Unfortunately, this is not the place to communicate with the developers; there are no developers active here.

If you want to find out what's happening for a particular problem, use the issue tracker. [Tutorial] Reporting bugs or suggestions

If you want to ask the developers a question, use the mailing lists. http://www.openoffice.org/mail_list.html
AOO4/LO5 • Linux • Fedora 23
scottt
Posts: 3
Joined: Wed Apr 22, 2009 5:40 pm

Re: [Solved] OOo 3.0 cannot save to network drive

Post by scottt »

fyi, this has been logged as a defect now. We'll see what happens...
http://www.openoffice.org/issues/show_bug.cgi?id=101282
OOo 3.0.X on Mandriva + Ubuntu
gnulab
Posts: 5
Joined: Tue Nov 18, 2008 12:15 pm

Re: [Solved] OOo 3.0 cannot save to network drive

Post by gnulab »

crosswalkguy wrote:My Setup:
Solution: As described by the others, Instead of accessing file share through Gnome/Nautilus I created an fstab entry for the share:
//[servername]/[sharename] /mnt/[sharename] cifs user=[username],noexec,user,rw,nounix 0 0

Manually mount the share:
# mount /mnt/[sharename]
This will prompt for password. I am sure there is a way to cache the password for an automatic/boot-time mount, I just do not know it.
Now navigate to your files @ /mnt/[sharename]
In fact, I noticed an odd thing. I could then access my files read/write the traditional method as long as it was mounted at the time this way as well.

I thought I would be more specific to help the googlers, I found I wasted a good hour or two coming across similar, but non-relevant solutions.

Cheers,
Matt
BC, Canada
I will try your method. My setup is almost similar to yours, except I'm using QNAP.

In the /etc/fstab you can use the credentials=/home/.smbpasswd

Read this website for details
http://ubuntuforums.org/showthread.php?t=255872
http://www.justlinux.com/nhf/Filesystem ... ently.html
OOo 2.4.X on Ms Windows XP
scottt
Posts: 3
Joined: Wed Apr 22, 2009 5:40 pm

Re: [Solved] OOo 3.0 cannot save to network drive

Post by scottt »

Not sure what happened here, other than this forum seems to have got some crossed threads in it that are unrelated. Manually mounting a samba share is not that novel. A fix for the bug I originally submitted 2 years ago would be novel. I think with all the Sun corporate changes, this bug appears to be lost forever. So much for that open source experiment :-/
OOo 3.0.X on Mandriva + Ubuntu
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] OOo 3.0 cannot save to network drive

Post by acknak »

Nothing is lost; your bug is here: https://issues.apache.org/ooo/show_bug.cgi?id=101282

When, or if, anyone will actually do anything with it is entirely up in the air, but the issue is still open.
AOO4/LO5 • Linux • Fedora 23
gnulab
Posts: 5
Joined: Tue Nov 18, 2008 12:15 pm

Re: [Solved] OOo 3.0 cannot save to network drive

Post by gnulab »

I've actually managed to solve this.

What I've done is mount the samba share at /etc/fstab and include the following options fmask=777,dmask=777.
Read that at this website http://ubuntuforums.org/showthread.php?t=255872

I have not tried this method though, the nobrl option as mentioned here.
http://opensuse.swerdna.org/susesambacifs.html#office

HTH this helps.
OOo 2.4.X on Ms Windows XP
Post Reply