"save as" on a samba server

Hi,
Hereunder is my problem,

I have 3 computers in a samba network
- Dell7 under windows7
- UbuntuT61 under ubuntu 11.04
- thintkpadr60 with two partitions :
     - Ubuntur60 under ubuntu 11.04
     - Sevenr60 under windows7
They all have a session with the same user and have shared folders, they all use libreOffice.

When, being in an ubuntu session of thethinkpadr60 i try to save a libreoffice file in a samba shared folder i have the reply "erreur lors de l'enregistrement du document XXX:
erreur générale
erreur d'entrée/sortie générale
save as;ubuntur60;towards ubuntur60;works
save as;ubuntur60;towards sevenr60;works
save as;ubuntur60;towards dell7;erreur générale
save as;ubuntur60;towards ubuntut61;erreur générale
save as;from any system except ubuntur60;file on ubuntur60;towards any system of the network;works
save as;from ubuntur60;with any other soft;towards any system;works

I would like to emphasize that every saving works except on this partition towards the samba networks.
I have tried to uninstall libreOffice without success.
I have tried to re-install Ubuntu without any success, my next step will be to try and go back to ubuntu 10 and OpenOffice (too bad !)

Any suggestion will be a pleasure.

Christophe
jcc.ha@free.fr

Jean-Christophe CUGNIERE wrote:

Hi,
Hereunder is my problem,

I have 3 computers in a samba network
- Dell7 under windows7
- UbuntuT61 under ubuntu 11.04
- thintkpadr60 with two partitions :
    - Ubuntur60 under ubuntu 11.04
    - Sevenr60 under windows7
They all have a session with the same user and have shared folders,
they all use libreOffice.

When, being in an ubuntu session of thethinkpadr60 i try to save a
libreoffice file in a samba shared folder i have the reply "erreur
lors de l'enregistrement du document XXX:
erreur générale
erreur d'entrée/sortie générale
save as;ubuntur60;towards ubuntur60;works
save as;ubuntur60;towards sevenr60;works
save as;ubuntur60;towards dell7;erreur générale
save as;ubuntur60;towards ubuntut61;erreur générale
save as;from any system except ubuntur60;file on ubuntur60;towards any
system of the network;works
save as;from ubuntur60;with any other soft;towards any system;works

I would like to emphasize that every saving works except on this
partition towards the samba networks.
I have tried to uninstall libreOffice without success.
I have tried to re-install Ubuntu without any success, my next step
will be to try and go back to ubuntu 10 and OpenOffice (too bad !)

Any suggestion will be a pleasure.

Just a couple of questions:
- Does this only happen when trying to save from within LibreOffice?
E.g. opening gedit and saving a file from there works?
- How is/are the samba share(s) mounted from ubuntu?

Lorenzo

Are you using the "default" folder/file sharing on the Ubuntu 11.04 machine, or did you add the SAMBA server package over top of the default system?

I use Ubuntu 10.04LTS. I set up the shared folder using only the "default" settings, allowing it to install the needed software packages. I have saved a LO document onto a Vista laptop from the Ubuntu desktop and I have saved a LO document onto the Ubuntu desktop's shared folder from the Vista laptop. It works both ways for me.

I found that manually adding the SAMBA server over top of the default setting that allow network sharing of a folder on the Ubuntu 10.04LTS [64 bit] drives caused me some issues. I set the folder to allow full access by all users to read and write files to that shared folder. I did notice that some rare times the shared folder on the drive that Ubuntu is installed on could not be accessed by my friend's Win 7 laptop. Yet the shared folder on my second physical drive worked fine. Never had this issue with my Vista laptop.

I am not using Ubuntu 11.04 due to issues with monitor resolution issues, which hopefully will be worked out later.

To be honest, my network is private and no one has access to it, except a few aide who work next door for my neighbor who needs 24/7 care. They use secured wireless access. They need password access to get to anything except the created shared folders on the Ubuntu desktop. But if you are going to have a business setup where you have a work folder on a central server that you save your documents to, that may be an issue, or not. I have not used "true file server" settings for several years.

yes this happens only with libreoffice, i've tried with gedit and gimp and it works perfectly.
It works also perfectly with libreoffice in a windows session and with libreoffice in an ubuntu session on an other pc.
In fact the problem is linked to this pc + libreoffice + ubuntu. Change any of these 3 parameters and up to now it works.

How the samba shared are mounted is a goog question. I'm not really aware of this question.
I just right clic on the part "shortcuts" ot the main menu then "networks" and then in nautilus open any of the samba servers, creating shortcuts (signets in french) for further access. What is noticeable is that it is mounted or accessed exactly the same way on the other ubuntu pc and works perfectly.

Hi :slight_smile:

Nautilus is sometimes a bit unpredictable and seems to suffer from some weird
bug in dealing with networks. If i have troubles with it i often find
installing a different file-browser such as Thunar or Dolphin (brings in tons of
bloat unless you already use KDE) are often able to cope but i haven't explored
to find the best file-browser to use because i just keep preferring Nautilus
despite it's occasional glitch.

However it's more likely that the problem is the server itself rather than the
desktop machines, particularly if it's a Windows Server.
Regards from
Tom :slight_smile:

Hi :slight_smile:

Nautilus is sometimes a bit unpredictable and seems to suffer from some weird
bug in dealing with networks. If i have troubles with it i often find
installing a different file-browser such as Thunar or Dolphin (brings in tons of
bloat unless you already use KDE) are often able to cope but i haven't explored
to find the best file-browser to use because i just keep preferring Nautilus
despite it's occasional glitch.

However it's more likely that the problem is the server itself rather than the
desktop machines, particularly if it's a Windows Server.
Regards from
Tom :slight_smile:

I use GNOME by default, have added most of the KDE packages since there are many KDE services/packages that works better than GNOME does, but there are other things that I do not like about KDE that stops me from using it as the default desktop. I use Nautilus [? this is the GNOME default, right], but have Dolphin available in the system tools folder.

So if I get your text proper, Nautilus has built in file sharing abilities as long as they are installed. By "default" my install of 10.04LTS has "samba 2:3.4.7~dfsg-1ubuntu3.6" installed. This is shown in the Synaptic Package Manager, but the Ubuntu Software Center shows that Samba is not installed. There is also a GADMIN-SAMBA listed there, but it is not installed either. "Nautilus extension to share folder using Samba" is listed as installed. Why it shows Samba installed in one package manager while it is not installed in the other, I do not know.

So the question is what "server" or file sharing software is on the system you are saving the document to, that does not work?

Hi Jean-Christophe,

Jean-Christophe CUGNIERE schrieb:

Hi,
Hereunder is my problem,

I have 3 computers in a samba network
- Dell7 under windows7
- UbuntuT61 under ubuntu 11.04
- thintkpadr60 with two partitions :
- Ubuntur60 under ubuntu 11.04
- Sevenr60 under windows7
They all have a session with the same user and have shared folders, they
all use libreOffice.

When, being in an ubuntu session of thethinkpadr60 i try to save a
libreoffice file in a samba shared folder i have the reply "erreur lors
de l'enregistrement du document XXX:
erreur générale
erreur d'entrée/sortie générale
save as;ubuntur60;towards ubuntur60;works
save as;ubuntur60;towards sevenr60;works
save as;ubuntur60;towards dell7;erreur générale
save as;ubuntur60;towards ubuntut61;erreur générale
save as;from any system except ubuntur60;file on ubuntur60;towards any
system of the network;works
save as;from ubuntur60;with any other soft;towards any system;works

I would like to emphasize that every saving works except on this
partition towards the samba networks.

The control file, that someone is working on a document, starts with a dot. Is your Samba configured in the way, that the user has the right to write such a file?

Kind regards
Regina

Hi Regina,

No if I try to use a file already opened on an other pc i have a warning telling me to open a copy or a read only session of the file.
My problem doesn't come from this.

Best regards Regina

Hi.
are these all open (guest) shares or shares to a user:password. And just confirming in every case you set up the share by right click "share folder", not by setting up a samba server.
When you do this test are all the machines on or just the 2 that you are saving from-to.
steve

Jean-Christophe CUGNIERE <jcc.ha <at> free.fr> writes:

Hi,
Hereunder is my problem,

I have 3 computers in a samba network
- Dell7 under windows7
- UbuntuT61 under ubuntu 11.04
- thintkpadr60 with two partitions :
     - Ubuntur60 under ubuntu 11.04
     - Sevenr60 under windows7
They all have a session with the same user and have shared folders, they
all use libreOffice.

When, being in an ubuntu session of thethinkpadr60 i try to save a
libreoffice file in a samba shared folder i have the reply "erreur lors
de l'enregistrement du document XXX:
erreur générale
erreur d'entrée/sortie générale
save as;ubuntur60;towards ubuntur60;works
save as;ubuntur60;towards sevenr60;works
save as;ubuntur60;towards dell7;erreur générale
save as;ubuntur60;towards ubuntut61;erreur générale
save as;from any system except ubuntur60;file on ubuntur60;towards any
system of the network;works
save as;from ubuntur60;with any other soft;towards any system;works

I would like to emphasize that every saving works except on this
partition towards the samba networks.
I have tried to uninstall libreOffice without success.
I have tried to re-install Ubuntu without any success, my next step will
be to try and go back to ubuntu 10 and OpenOffice (too bad !)

Any suggestion will be a pleasure.

Christophe
jcc.ha <at> free.fr

Hi,

I have the same problem, I’m using a samba server 10.04 LTS, terminals whit
Ubuntu desktop 11.04 and LibreOffice 3.3.
I using connect to server - windows share folder, to use the personal folder
of each user on the server.
When i open a file from that folder whit LibreOffice and i try to save as any
folder i receive the same error than you.

Have you founded any solution to that issue?

Sincerely,

Ismael Caballero.

Hi :slight_smile:
For some reason your message got delayed for a few days so you might want to ask
the question again and perhaps cc it to the person you were mainly aiming at.
Good luck and regards from
Tom :slight_smile: