Cannot edit samba shared file

Ubuntu 8.1 computer file sharing set up for owner group and others to read and write files. OpenSuse computer can accesss and read files, but cannot edit them. Can enter information in a document, but when I save it and reopen it, the new information is not there. Same username on both machines. Any suggestions? This used to work in :(openSuse 10.3

On Wed February 4 2009 10:06 pm, AbdRahim wrote:

>
> Ubuntu 8.1 computer file sharing set up for owner group and others to
> read and write files. OpenSuse computer can accesss and read files, but
> cannot edit them. Can enter information in a document, but when I save
> it and reopen it, the new information is not there. Same username on
> both machines. Any suggestions? This used to work in :(openSuse 10.3
>
>

  1. Are these “classic shares” or “User-defined”?
  2. Have you created Samba Users with:

su
smbpasswd -a <username>

If you have not created Samba Users, the connecting user will authenticate as
the “guest account” (the default guest account is nobody), and will likely
only have read access at best.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

This is a regular share. I log into the share with the username and password assigned to the share when it was created on the Ubuntu machine.

This is an Openoffice problem, but I have not seen a solution that works in openSuse 11.1.

Can I ask three questions to get some more background:

  1. Is it exactly the same configuration in Ubuntu that used to work with openSUSE 10.3, or has anything at all changed in Ubuntu?
  2. Are we talking about mounted/mapped network shares (cifs mount) or are we talking about browsing to the shares using Nautilus network browser with address smb://etc ?
  3. If you create an old fashioned Linux text document (not an open Office document) can you edit and save the changes in the text document from openSUSE via samba?

I have the same or a very similar problem.
OO documents stored in Samba shares can not be opened directly.
OO starts, splash screen shows and then OO quits without showing errors, even if started from the command line.
I have to copy the file locally and put it back manually.

To answer the questions:

  1. I had the problem both on 10.3 and 11.1
  2. Same issue whether I use Konqueror to browse the share or use File/Open and then select the network folder.
  3. Yes, Kate can open and edit a txt file as expected.

A colleague using Ubuntu on the same share but his own account has no issues. No apparent difference between the accounts (Besides username and password :slight_smile: )
Thanks for any help…

A little addendum:

The issues appears only when accessing the share with smb://…
If the share is mounted with mount -t cifs… I can open files and save them back.

I no longer have KDE to test this. But IIRC it’s a problem with the KDE GUIs (Konqueror and Dolphin). It’s not a problem in Nautilus. Something like that. I switched to Gnome which is much more stable than KDE at the moment, while KDE is being rewritten (I think?).

I had same problem with a mandriva samba server. I solve it upgrading my server with samba 3.4. Samba 3.0 seems to have problem with cifs client.