Results 1 to 5 of 5

Thread: Setting up file sharing between Ubuntu 11.04 and Windows XP (Samba)

  1. #1
    Join Date
    Aug 2011
    Beans
    7

    Smile Setting up file sharing between Ubuntu 11.04 and Windows XP (Samba)

    Hello everybody, im new at the fourm but ive been using Linux for a few years now and im trying to make a server to share files via Samba but alas i have hit a wall it wont let me edit the smb.conf file i have found a few things about this problem on the forum but none of them seem to work could someone please advise me on what I should do.

    Terminal:
    sudo gedit /ect/samba/smb.conf

    It then opens an empty smb.conf and gives this error in the terminal:

    (gedit:3872): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.RUD00V': No such file or directory

    (gedit:3872): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

    The location of the smb.conf is /etc/samba
    Its set to read only.

  2. #2
    Join Date
    Mar 2011
    Beans
    25
    Distro
    Ubuntu

    Re: Setting up file sharing between Ubuntu 11.04 and Windows XP (Samba)

    lol I do this all the time...

    you typed in
    Code:
    sudo gedit /ect/samba/smb.conf
    when its really
    Code:
    sudo gedit /etc/samba/smb.conf
    you got the 't' and 'c' mixed up in "/etc"

  3. #3
    Join Date
    Aug 2011
    Beans
    7

    Re: Setting up file sharing between Ubuntu 11.04 and Windows XP (Samba)

    Yup thanks that was it but I have another problem now when I try to restart samba it gives me this error:

    Code:
    chris@BlueTouch:~$ sudo /etc/init.d/samba restart
    sudo: /etc/init.d/samba: command not found
    :/

  4. #4
    Join Date
    Dec 2009
    Beans
    6,776

    Re: Setting up file sharing between Ubuntu 11.04 and Windows XP (Samba)

    First, never run a gui with sudo it's
    Code:
    gksu gedit /etc/samba/smb.conf
    Second, there is no "samba" daemon any more and the new one isn't in init.d so try this instead:
    Code:
    sudo service smbd restart

  5. #5
    Join Date
    Aug 2011
    Beans
    7

    Re: Setting up file sharing between Ubuntu 11.04 and Windows XP (Samba)

    Yeah that was it. My File sharing systems up and running now the files are copying over to my system now thanks all
    Last edited by CrimsonTurkey; August 27th, 2011 at 09:01 PM.

Tags for this Thread

Bookmarks

Posting Permissions

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