如何在 Linux 上同時使用 Samba Share ACL 和 Posix ACL

如何在 Linux 上同時使用 Samba Share ACL 和 Posix ACL

我正在尋找 Share ACL 和 Posix ACL(文件權限)組合範例。但我找不到如何一起使用兩者的例子...

我在Solaris 上使用“chmod A+”。我應該在linux上使用什麼?
我想建立與 Windows ACL 完全相同的 ACL。

你知道或有例子嗎?

Samba 版本:4.6.5
作業系統:Arch-linux

我的 smb.conf;

[Global]
  netbios name = NETBIOSM
  workgroup = TM
  realm = TM.PVT
  server string = %h TM Host
  security = ads
  encrypt passwords = yes

  idmap config SM.PVT : backend = ad
  idmap config SM.PVT : range = 10000-20000
  idmap config SM.PVT : schema_mode = rfc2307
  idmap config * : range = 8000-9000

  winbind use default domain = Yes
  winbind enum users = Yes
  winbind enum groups = Yes
  winbind nested groups = Yes
  winbind refresh tickets = yes
  winbind offline logon = yes
  winbind cache time = 300

  template shell = /bin/bash
  template homedir = /home/%D/%U

  preferred master = no
  dns proxy = no
  wins server = tmdc.tm.pvt
  wins proxy = no

#  acl group control = yes

  load printers = no
  debug level = 3
  use sendfile = no

  vfs objects = acl_xattr
  map acl inherit = yes
  store dos attributes = yes

[test]
 comment = ACL Test
 path = /testPool/smbtest
 valid users = TM.PVT\administrator TM.PVT\user1 SM.PVT\user2
 admin users = TM.PVT\administrator
 public = no
 writable = yes
 inherit permissions = yes
 inherit acls = yes

答案1

終於找到一些解釋了!我想知道為什麼開發人員認為我們已經知道一切。如果您閱讀下面的鏈接,您將找到有關該主題和發展歷史的所有疑問的答案。

https://www.ja-ki.eu/2016/09/19/gedaechtnisstuetze-acls-mit-zfs-on-linux-und-samba-4-5/

http://cuddletech.com/?p=23

http://cuddletech.com/?p=459

相關內容