mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 00:02:26 +01:00 
			
		
		
		
	Removed 'domain admins' group from chown command
This commit is contained in:
		@@ -103,7 +103,7 @@ wbinfo -g
 | 
				
			|||||||
mkdir /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE
 | 
					mkdir /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# originally 'domain users' was set, added variable for domain admins group, samba wiki recommends separate group e.g. 'unix admins'
 | 
					# originally 'domain users' was set, added variable for domain admins group, samba wiki recommends separate group e.g. 'unix admins'
 | 
				
			||||||
chown "$ZMB_ADMIN_USER":"$ZMB_DOMAIN_ADMINS_GROUP" /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE
 | 
					chown "$ZMB_ADMIN_USER" /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE
 | 
				
			||||||
 | 
					
 | 
				
			||||||
setfacl -Rm u:$ZMB_ADMIN_USER:rwx,g::-,o::- /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE
 | 
					setfacl -Rm u:$ZMB_ADMIN_USER:rwx,g::-,o::- /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE
 | 
				
			||||||
setfacl -Rdm u:$ZMB_ADMIN_USER:rwx,g::-,o::- /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE
 | 
					setfacl -Rdm u:$ZMB_ADMIN_USER:rwx,g::-,o::- /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user