Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Simple File Sharing over a Home Network

  1. #1
    Join Date
    Jul 2007
    Location
    New York City
    Beans
    265
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Simple File Sharing over a Home Network

    I tried (using Hardy Heron 8.04) simply right-clicking on the folder I want to Share, and there is a new automatic tool.

    Right-click... Then, "Sharing Options".

    Unfortunately, I get an error on the "File Manager - Folder Sharing" window...

    'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
    You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share.

    Is this a bug?

  2. #2
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Simple File Sharing over a Home Network

    Sounds like a permissions error. What directory are you trying to share and do you own it?
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  3. #3
    Join Date
    Jul 2007
    Location
    New York City
    Beans
    265
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Simple File Sharing over a Home Network

    I was just testing/experimenting with it... So it was my own HOME folder I was attempting to Share.

    HOWEVER, I tried again just now and I get the same exact error when I try to share my own DOCUMENTS folder inside my home folder.

    Also, I get that same error whether I "Allow other people to write in this folder", or Not...

  4. #4
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Simple File Sharing over a Home Network

    There is a bug report here :

    https://bugs.launchpad.net/ubuntu/+s...re/+bug/215810

    See the very last post first, basically open nautilus, right click on a folder, install samba server. They then say you will need to log out and back in or reboot and your share should work.

    If that fails, read the other comments first, try some of the other solutions listed, and if that fails, add to the bug report.

    I can not give better advice at the moment as samba worked for me out of the box
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  5. #5
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Simple File Sharing over a Home Network

    Just a follow up : I just tried this, got the same error, and logging out and back in indeed is the solution.
    Last edited by bodhi.zazen; April 29th, 2008 at 07:09 AM.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  6. #6
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Simple File Sharing over a Home Network

    whom do you want to share with? Other Linux computers or accross different OSes?

  7. #7
    Join Date
    Oct 2007
    Beans
    Hidden!

    Re: Simple File Sharing over a Home Network

    When you get it to work, take care not to check the 'other' people checkbox when you try to share your home folder
    What will happen is:

    -Nautilus will ask you to change permissions
    -next time you start X gdm disallows you to login as other people can 'write' to your home directory
    -super newbie friendly recovery console happy time ensues.

    I managed to lock myself out of gnome this way. And if it were not for a secondary computer where I asked for help in the forums it would have been the end of my fun with Ubuntu
    Last edited by Deeta; May 6th, 2008 at 09:30 AM.

  8. #8
    Join Date
    Feb 2006
    Location
    Germany
    Beans
    72

    Re: Simple File Sharing over a Home Network

    Hi,

    how to do this "log out and then login again" with a live CD?
    I cannot install on the PC.

    Thanks.

  9. #9
    Join Date
    Feb 2006
    Location
    Germany
    Beans
    72

    Re: Simple File Sharing over a Home Network

    I wrote a short explanation how to copy files using openssh instead of samba.

    http://ubuntuforums.org/showthread.p...64#post5448464

    Good Luck.

  10. #10
    Join Date
    Mar 2006
    Location
    Saskatchewan, Canada
    Beans
    28
    Distro
    Ubuntu

    Re: Simple File Sharing over a Home Network

    What is the command line command to open my list of shared folders in ubuntu?

    I don't remember what it is, but if you do sudo <whatever the command is to run shared folders> then you can add/remove any you want.

Page 1 of 2 12 LastLast

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
  •