Author Topic: Share NTFS partitions  (Read 4847 times)

theb2b

  • Zen Monk
  • **
  • Posts: 59
  • Karma: +2/-0
    • View Profile
Re: Share NTFS partitions
« Reply #15 on: June 02, 2014, 02:55:32 am »
I have an external USB HardDisk which has an NTFS filesystem. When I mounted it under /media/ext when I try to add the new share via the Web Interface I get the Message:

"The mount point '/media/ext' must be mounted with 'acl' option. This is required for permissions to work properly." I'm running Zentyal 3.4.3.

Mounted with acl option did not work, In addition I found I needed to mount with both user and group of samba.

I am mounting the external drive via fstab per below,
/dev/disk/by-uuid/70267A8E267A54D6/ /mnt/ext ntfs-3g acl,auto,uid=108,gid=113,umask=007 0 0

uid and gid are user and group samba, I no longer get the mount point error, I can create shares via the web GUI, but when I access the shares from a user PC\laptop nothing is listed, the directory is empty. When I access the same location from the terminal I "see" the files but the directories are shown as empty, but in reality they contain files, see below;

Directory
drwxrwx--- 1 root root    0 Feb 15 12:21 Dakota
Contents
-rwxrwx--- 1 root root 635K Jun 29  2002 Dakota1.jpg
-rwxrwx--- 1 root root 519K Jun 29  2002 Dakota2.jpg
-rwxrwx--- 1 root root 844K Jun 29  2002 Dakota3.jpg
-rwxrwx--- 1 root root 397K Jul 10  2002 PICT0004.JPG
-rwxrwx--- 1 root root 569K Jul 10  2002 PICT0005.JPG

Any thoughts on what else needs to be done to fix this?
« Last Edit: June 02, 2014, 03:04:40 am by theb2b »

livesilicon

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Share NTFS partitions
« Reply #16 on: October 10, 2014, 05:54:13 pm »
I have an external USB HardDisk which has an NTFS filesystem. When I mounted it under /media/ext when I try to add the new share via the Web Interface I get the Message:

"The mount point '/media/ext' must be mounted with 'acl' option. This is required for permissions to work properly." I'm running Zentyal 3.4.3.

Mounted with acl option did not work, In addition I found I needed to mount with both user and group of samba.

I am mounting the external drive via fstab per below,
/dev/disk/by-uuid/70267A8E267A54D6/ /mnt/ext ntfs-3g acl,auto,uid=108,gid=113,umask=007 0 0

uid and gid are user and group samba, I no longer get the mount point error, I can create shares via the web GUI, but when I access the shares from a user PC\laptop nothing is listed, the directory is empty. When I access the same location from the terminal I "see" the files but the directories are shown as empty, but in reality they contain files, see below;

Directory
drwxrwx--- 1 root root    0 Feb 15 12:21 Dakota
Contents
-rwxrwx--- 1 root root 635K Jun 29  2002 Dakota1.jpg
-rwxrwx--- 1 root root 519K Jun 29  2002 Dakota2.jpg
-rwxrwx--- 1 root root 844K Jun 29  2002 Dakota3.jpg
-rwxrwx--- 1 root root 397K Jul 10  2002 PICT0004.JPG
-rwxrwx--- 1 root root 569K Jul 10  2002 PICT0005.JPG

Any thoughts on what else needs to be done to fix this?

I was able to achieve this perfectly with Zentyal 4.0 using this tutorial
http://www.tuxera.com/community/ntfs-3g-advanced/user-mapping/

you have to "map" windows user with linux user. So far it is working great.