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

Thread: can't share (samba) from NTFS drive

  1. #1
    Join Date
    Sep 2010
    Location
    Ilkeston, UK
    Beans
    58
    Distro
    Ubuntu 10.04 Lucid Lynx

    can't share (samba) from NTFS drive

    Hi Everyone,

    I am very new to Ubuntu, I managed to install samba and it's GUI. I tried to share a directory within the pictures folder (at home/mark/pictures/share) just as a test. I had everything set up right, but it was inaccessible from a windows XP machine on my network. After some digging I found the problem lay with the permissions of it's parent folder. I right clicked on the parent folder then clicked properties, then clicked on the permissions tab. I changed the permissions for others and it's working fine.

    I'm having the same problem now but with a share on a NTFS drive called storage. I cannot change the permissions for the shared folder or any of it's parents by right clicking. Any changes I make revert immediately back to their previous setting.

    Is there any way to change the permissions to allow read access to everyone?

  2. #2
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: can't share (samba) from NTFS drive

    Is the storage drive a USB external drive? If so, you will have to create a mount pont for the drive in /etc/fstab in order to set the correct local file permissions.

  3. #3
    Join Date
    Sep 2010
    Location
    Ilkeston, UK
    Beans
    58
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can't share (samba) from NTFS drive

    No, it's on a RAID array that consists of 2 internal SATA drives (it's not the same array as my Linux install if that makes a difference).

    Thanks for your reply

  4. #4
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: can't share (samba) from NTFS drive

    I see. Well, please post your /etc/fstab and highlight the section which contains the mount point for your raid array.

  5. #5
    Join Date
    Sep 2010
    Location
    Ilkeston, UK
    Beans
    58
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can't share (samba) from NTFS drive

    Here we are:

    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
     
    proc    /proc    proc    nodev,noexec,nosuid    0    0
    /dev/mapper/nvidia_abjcfaad3    /    ext4    errors=remount-ro    0    1
    /dev/mapper/nvidia_abjcfaad2    /media/Seven    ntfs    defaults,nls=utf8,umask=0222    0    0
    /dev/mapper/nvidia_jjeidcec1    /media/Storage    ntfs    defaults,nls=utf8,umask=0222,nosuid,nodev    0    0
    /dev/mapper/nvidia_abjcfaad1    /media/XP    ntfs    defaults,nls=utf8,umask=0222    0    0
    /dev/mapper/nvidia_abjcfaad5    none    swap    sw    0    0
    Last edited by xenton; September 18th, 2010 at 05:24 PM.

  6. #6
    Join Date
    Sep 2010
    Location
    Ilkeston, UK
    Beans
    58
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can't share (samba) from NTFS drive

    Anybody have any ideas?

  7. #7
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: can't share (samba) from NTFS drive

    Try this instead:
    Code:
    /dev/mapper/nvidia_jjeidcec1 /media/Storage ntfs-3g defaults,locale=en_US.utf8 0 0
    Found here -> https://help.ubuntu.com/community/Mo...dowsPartitions

    Note the "Known issues" section.

  8. #8
    Join Date
    Sep 2010
    Location
    Ilkeston, UK
    Beans
    58
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can't share (samba) from NTFS drive

    Right, I used the NTFS Config. GUI to setup my NTFS drives since my last post so my fstab entries are now as in your last post. I booted into windows and changed the permissions to give 'everyone' full access for the folders I'm trying to share.
    Back in Lucid I've checked the permissions tab of the properties for the folders and it seems to reflect the changes, it now matches the successful ext 4 share I have working but still no joy.

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

    Re: can't share (samba) from NTFS drive

    If your fstab entry matches dmizer's this shouldn't be an issue but just in case post the permissions of the shared directory:
    Code:
    ls -dl /media/Storage
    For the Samba part why not post your smb.conf:
    Code:
    testparm -s

  10. #10
    Join Date
    Sep 2010
    Location
    Ilkeston, UK
    Beans
    58
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can't share (samba) from NTFS drive

    These shares were added via the samba GUI, I just tried to add them by right clicking and got an error

    I think I could be onto something here

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
  •