Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: [SOLVED] net usershare' returned error 255: net usershare add:

  1. #1
    Join Date
    Apr 2008
    Location
    Other side of screen
    Beans
    107
    Distro
    Ubuntu 8.04 Hardy Heron

    [SOLVED] net usershare' returned error 255: net usershare add:

    'net usershare' returned error 255: net usershare add: cannot share path /media/disk/disk as we are restricted to only sharing directories we own.
    Ask the administrator to add the line "usershare owner only = False"
    to the [global] section of the smb.conf to allow this.

    Ok where how would i go to fix this. i live alone so there is no admin to ask. just me.

    i,m trying to share folders on a recently formatted partition.

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: net usershare' returned error 255: net usershare add:

    Smb.conf is located in /etc/samba. THe easy way is Alt-F2 and type:

    Code:
    gksu gedit /etc/samba/smb.conf
    JIm

  3. #3
    Join Date
    Apr 2008
    Location
    Other side of screen
    Beans
    107
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: net usershare' returned error 255: net usershare add:

    Thank you!
    i added the line"usershare owner only = False"
    to the notepad that opened up and saved it.
    but i still get that error when trying to share any folder on that drive.
    should i reboot? then retry?

  4. #4
    Join Date
    Apr 2008
    Location
    Other side of screen
    Beans
    107
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: net usershare' returned error 255: net usershare add:

    ok this is solved! thank you very much!!!

    i did not add the line to the global part the first time. works now it in correct place...

    is that williams lake B.C? you are from?

  5. #5
    Join Date
    Jan 2009
    Location
    Bay Area CA
    Beans
    89
    Distro
    Ubuntu Development Release

    Re: [SOLVED] net usershare' returned error 255: net usershare add:

    i did not add the line to the global part the first time. works now it in correct place...

    Hello, I am very new to Ubuntu and having the same problem of sharing folders.

    The samba configuration file is quite detailed.

    Where exactly in the samba notepad do you add the "usershare owner only = False" line?

    Do I include the quotation marks?

    Can someone please paste an example of where I insert the line in the config menu?

    Thanks.

  6. #6
    Join Date
    Oct 2007
    Beans
    11

    Re: [SOLVED] net usershare' returned error 255: net usershare add:

    Have pasted the line into the global part but still have no luck. any other suggestions? im not quite sure why my shares arent working as i have had them going on a previous install of 8.10.

  7. #7
    Join Date
    Jan 2009
    Beans
    1

    Re: net usershare' returned error 255: net usershare add:

    typing
    gksu gedit /etc/samba/smb.conf
    in terminal window
    and adding line "usershare owner only = False" in global section
    definitely solved my 'sharing folder' problem
    Thank you a lot!

  8. #8
    Join Date
    Mar 2009
    Beans
    3
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: [SOLVED] net usershare' returned error 255: net usershare add:

    I am trying to accomplish the same thing. I put"usershare owner only = false" under global section and it is not working. Do I need to type a # at the beginning of the line like all the other lines in smb.conf file?


    'net usershare' returned error 255: [2009/04/07 21:17:27, 0] param/loadparm.c:lp_do_parameter(7198)
    Ignoring unknown parameter ""usershare owner only"
    net usershare add: cannot share path /media/Windows Vista Home Premium/Users/Sean as we are restricted to only sharing directories we own.
    Ask the administrator to add the line "usershare owner only = false"
    to the [global] section of the smb.conf to allow this.

  9. #9
    Join Date
    Mar 2009
    Beans
    3
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: [SOLVED] net usershare' returned error 255: net usershare add:

    Quote Originally Posted by mogul218 View Post
    I am trying to accomplish the same thing. I put"usershare owner only = false" under global section and it is not working. Do I need to type a # at the beginning of the line like all the other lines in smb.conf file?


    'net usershare' returned error 255: [2009/04/07 21:17:27, 0] param/loadparm.c:lp_do_parameter(7198)
    Ignoring unknown parameter ""usershare owner only"
    net usershare add: cannot share path /media/Windows Vista Home Premium/Users/Sean as we are restricted to only sharing directories we own.
    Ask the administrator to add the line "usershare owner only = false"
    to the [global] section of the smb.conf to allow this.




    Solved! Apparently, when I copied the previous posters line they had F in false capitalized and it didn't work. Also if you come across this in the future, no quotation marks are needed. I don't think the previous posters were very clear regarding this.

  10. #10
    Join Date
    Aug 2009
    Beans
    1

    Re: net usershare' returned error 255: net usershare add:

    Thanks for this! Other solutions were long, complex and confusing. This took less than 30 seconds! Great for ubuntu-nubs like me

Page 1 of 3 123 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
  •