Results 1 to 6 of 6

Thread: Netork Shares and permissions

  1. #1
    Join Date
    Nov 2008
    Beans
    46

    Netork Shares and permissions

    Hi

    Can someone advise me on a network problem.

    I share a folder from 1 ubuntu install and give permissions for guest to have read and write access. When I browse to the network location I get 2 problems.

    1. either I am refused access to the share. Even though the share is setup exactly the same as others on my system (except the share name of course).

    2. If I can enter the share I am refused permission to write to the location.

    I create the share by going to terminal and doing:-

    gksudo nautilus and right clicking a folder then sharing and then ticking all 3 boxes.

    I get a system message asking if I want to cascade the permission I say ok.

    I get very random results.

    Any advise welcome and thank you in advance.

    Regards


    Yogiman!

  2. #2
    Join Date
    Dec 2009
    Location
    Chennai, India
    Beans
    140
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Netork Shares and permissions

    Please let me know the version of ubuntu you are using?

  3. #3
    Join Date
    Jan 2006
    Beans
    26
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Netork Shares and permissions

    Quote Originally Posted by johnson.d View Post
    Please let me know the version of ubuntu you are using?
    Hi I am using 9.10 (Karmic Koala)

    Thanks for the reply.

    Yogiman!

  4. #4
    Join Date
    Aug 2007
    Location
    Budapest, Hungary
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Netork Shares and permissions

    When you create the share, why are you using it with gksudo? Under Nautilus it's not letting you do it?

    The sharing is created with samba, you need to setup a password and a username for the samba shares, which are required in order to access them. This can setup a password for your username by issuing this command in the Terminal:
    Code:
    smbpasswd
    When you create the shares make sure you use the permissions you wish, either grand write access to it or not.
    Akos Veres (Puck)
    http://puck.in - Music, Social, Linux and ME!
    For real-time help visit #ubuntu-beginners on irc.freenode.net

  5. #5
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Netork Shares and permissions

    It's been awhile - so I can't say for sure...
    You may need to set up the "guest" account in /etc/samba/smb.conf.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  6. #6
    Join Date
    Dec 2009
    Beans
    6,767

    Re: Netork Shares and permissions

    If you're allowing guest access you don't need to set up a samba password.

    Please post the output of the following commands:

    Type sudo net usershare info
    Type testparm -s

    EDIT: also need to know the permissions on the folder you're sharing:

    ls -dl /path/to/shared/folder
    Last edited by Morbius1; January 26th, 2010 at 06:12 PM.

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
  •