Find the answer to your Linux question:
Results 1 to 8 of 8
Hello ! I have two problems with Ubuntu in network. First problem is: when i try save a doc file ( Open Office ) in my network, if the name ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    4

    Ubuntu - Problem with files in Network

    Hello !

    I have two problems with Ubuntu in network.

    First problem is: when i try save a doc file ( Open Office ) in my network, if the name of file already exists in folder of network, the Open Office save new file above the older file without show a prompt warning the existence of other file with the same name.

    Other problem: i can open the same doc file in two different pc's at the network, and can save in two different computers, the file that stay is the last have been saved. Has the chance to put the Ubuntu for not open doc file that has been opened in other computer in network ?

    The server is SAMBA.

    Regards and thanks in advance.

  2. #2
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    This has to do with directory permissions and (the lack of) file locking schemes in use, and is likely entirely Samba's doing. Here's a question, are your clients Microsoft Windows machines? I don't like diving into Samba issues if it's not necessary in the first place.

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    4
    Thanks for the help D-Cat.

    Yes, in the network are 20 pc's more less and the 3 are windows, but the problem is in Ubuntu machines.

    Sincerely, I don't understand very well SAMBA, if the problem is there ... you can help me ?

  4. #4
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Okay, I just want to make absolutely sure I understand what you just said...

    Your 3 windows clients are behaving the way they are supposed to when connected to the server via Samba, but the Linux clients are the ones that are failing to make the kinds of checks that you want? If the windows clients are behaving correctly, I might be barking up the wrong tree, or there might still be permissions failures caused by the samba setup, namely, if everyone is signed on the same username, Samba doesn't give a hill of beans that they're on different physical computers, and will hide this fact from the rest of the Server; Thus, when you're saving a file on on the server from one computer, then another computer goes to overwrite it, the server thinks it's just being updated by the same person and doesn't bother to give any warnings.

    Would you be willing to setup a NFS server for the Linux clients and only use Samba for the Windows clients? If Windows clients are accessing correctly, I'm a little hesitant to mess with the configuration (if it ain't broke, don't fix it).

  5. #5
    Just Joined!
    Join Date
    Feb 2009
    Posts
    4
    Thanks for your help

    The windows clients don't have any problem, they work very well. All computers ( Ubuntu and Windows ) are connected to a server with SAMBA.

    I try solve the problem changing Op Locks in SAMBA but the problem still.

  6. #6
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Does this only occur with OpenOffice? What version are you using?

    Sorry, I know this may seem tangent, but I'd rather clear the air of some other variables. I REALLY hate messing with a Samba config that from Window's perspective is working; I'd hate it even more if I did it then discovered it wasn't necessary (After removing 16 screws in the back of a TV set you're fixing, you discover there was an easier way in- paraphrased from Murphy's Laws on Technology).

  7. #7
    Just Joined!
    Join Date
    Feb 2009
    Posts
    4
    The only software that I try is OpenOffice ... the version is 2.4 ... come with Ubuntu

    Thanks a lot D-Cat for your patience

  8. #8
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Okay, how are the samba clients implimented? As in, are you mounting samba shares to the clients' filesystems, or are you using the Network Folders option in the save-as dialog?

    Oh, and BTW, thank YOU for the patience. I haven't seen this, so I'm flying blind, slow, and low.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...