Results 1 to 5 of 5

Thread: Trying to share.

  1. #1
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Trying to share.

    I have a partition I have a bunch of movies in an NTFS partition which I want to share with other systems on my network for the purpose of letting my kid watch them in her room as well as having the ability to watch them on a system connected to my entertainment system. I can't seem to make them visible to other systems. The folder shows on the network, but it is not mountable. Is this due to the partition being NTFS and ubuntu not being capable of applying permissions?
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  2. #2
    Join Date
    Dec 2009
    Beans
    6,777

    Re: Trying to share.

    There's not enough information in your post to answer the question. For example if I assume:

    * You shared the folder using Nautilus.
    * The ntfs partition is not being automounted at boot but mounted when you need it through Nautilus.

    Then it will mount with access only to you and no one else. You may have set up the share to allow guests to access it but Samba cannot override Linux permissions. There is a way out of this problem and that's to force all remote users to look like you:

    Edit smb.conf as root:
    Code:
    gksu gedit /etc/samba/smb.conf
    Add the following line to the [global] section - right under the workgroup line:
    Code:
    force user = what-ever-your-user-name-is
    Save smb.conf and then restart samba:
    sudo service smbd restart
    If you used Classic samba it would be better to put that line in the share definition itself. If you are automounting the NTFS partition then a simple change to the options should fix it assuming you are using Samba. If you are using NFS then this will do zip.

    If the above does nothing for you please explain how you created the share and how you are mounting the NTFS partition.

  3. #3
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Trying to share.

    I am mounting, then right clicking and sharing to all. I guess I will have to format it to EXT4, so that I can give permissions for the files.
    Attached Images Attached Images
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

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

    Re: Trying to share.

    Still haven't answered the question but each time you post you leave another clue. If you are contemplating reformatting to ext4 it suggests that it is in fact an NTFS partition. Then rather than reformat you could use "force user" in smb.conf as I suggested above.

    "force user" will convert the remote guest to you once it passes through Samba's limitations. You set up the share to allow guest access without write access. When the remote user tries to access the share she will be converted to you but Samba will prevent her from writing to the share.
    Last edited by Morbius1; March 11th, 2012 at 01:08 PM.

  5. #5
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Trying to share.

    Quote Originally Posted by Morbius1 View Post
    Still haven't answered the question but each time you post you leave another clue.
    I do not see the question you are wanting answered.

    I just ran the commands you offered. They got it working. Thanks for the help.
    Last edited by uRock; March 11th, 2012 at 05:10 PM.
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

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
  •