guermantes
Patron
- Joined
 - Sep 27, 2017
 
- Messages
 - 213
 
I readily admit that the interaction between freenas permissions and samba share acls is not my strongest field, but I thought I had gotten the hang of it. But here I am stumped. Why on Earth does the group ownership remain 
The windows images are taken after all the commands below have been executed and the Windows machine has been rebooted.
How come the file
	
		
			
		
		
	
		
		
	
	
		
	
	
		
			
		
		
	
	
		
			
		
		
	
		
	
	
		
			
		
		
	
			
			users all the time? On a windows machine, user cristina who is only member of group users can delete the file testfile even though 1) the group ownership is changed to linux_user, and 2) delete privileges for group members are removed. I am at a loss as to both 1 and 2.largetemp is a samba share owned by peter:users and the acls are the defaults from when the share was created on 11.0-U4.The windows images are taken after all the commands below have been executed and the Windows machine has been rebooted.
How come the file
testfile continues to be owned by group users even though the owner is successfully changed?Code:
root@freenas:/mnt/TANK/largetemp/dvd-musik # touch testfile
root@freenas:/mnt/TANK/largetemp/dvd-musik # ls -la
total 34832483
drwxrwxr-x+ 31 root        users                41 Mar  1 21:35 .
drwxrwxr-x+ 11 peter       users                25 Mar  1 19:12 ..
-rwxrwxr-x+  1 root        users                 0 Mar  1 21:35 testfile
root@freenas:/mnt/TANK/largetemp/dvd-musik # getfacl testfile
# file: testfile
# owner: root
# group: users
            owner@:rwxpDdaARWcCos:------I:allow
            group@:rwxpDdaARWcCos:------I:allow
         everyone@:r-x---a-R-c---:------I:allow
root@freenas:/mnt/TANK/largetemp/dvd-musik # chown linux_user:linux_user testfile
root@freenas:/mnt/TANK/largetemp/dvd-musik # ls -la | grep testfile
-rwxrwxr-x+  1 linux_user  linux_user            0 Mar  1 21:35 testfile
root@freenas:/mnt/TANK/largetemp/dvd-musik # getfacl testfile
# file: testfile
# owner: linux_user
# group: linux_user
            owner@:rwxpDdaARWcCos:------I:allow
            group@:rwxpDdaARWcCos:------I:allow
         everyone@:r-x---a-R-c---:------I:allow
root@freenas:/mnt/TANK/largetemp/dvd-musik # setfacl -bn testfile
root@freenas:/mnt/TANK/largetemp/dvd-musik # getfacl testfile
# file: testfile
# owner: linux_user
# group: linux_user
            owner@:rwxp--aARWcCos:-------:allow
            group@:rwxp--a-R-c--s:-------:allow
         everyone@:r-x---a-R-c--s:-------:allow
			
				Last edited: