A
A
Alexander2016-09-01 12:31:05
Samba
Alexander, 2016-09-01 12:31:05

How to properly mount an NTFS drive in Ubuntu so that you can change ACLs?

So, there is Ubuntu Server 16.04 with Samba configured, included in the domain, the Active Directory domain itself, folders prepared for sharing, and a partition formatted in NTFS.
Purpose: to share an NTFS partition mounted to a specific folder for access by domain users.
For understanding, the /srv/share/smb directory is shared in smb.conf with
[global] parameters
...
vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
[share]
comment = *some_share*
path = /srv/ share/smb
read only = no
Two subfolders are created in this folder where partitions will be mounted.
What happens:
- change ACL (add groups, users from the domain) of the root shared folder /srv/share/smb;
- change the ACLs of folders created in the /srv/share/smb/*some_folder*/ subfolder.
What does not work:
- change the ACL of the /srv/share/smb/*some_folder* subfolders (where partitions are mounted). When adding an AD group, it immediately disappears from the list of permissions, it does not give any errors.
The feeling that I either mount with the wrong rights (although umask=000), or Samba does not affect the ACL of the mounted partitions in any way.
Who fumbles, tell me where to dig.
You can, of course, create folders in sections and steer them, but this is a crutch. I want a smart solution.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2016-09-01
@Adorne

Understood. It turned out that in /etc/fstab it is enough to add acl as options and everything works.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question