我正在寻找 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/