EMP-Tea
Dabbler
- Joined
- Jul 20, 2022
- Messages
- 13
OS Version:
TrueNAS-13.0-U1.1 (Core)
Model:
TRUENAS-MINI-3.0-XL+
Memory:
32 GiB
8 bays filled with 4TB drives
Single ZFS pool in RAIDZ2
500GB SSD for mirrored boot pool
TrueNAS-13.0-U1.1 (Core)
Model:
TRUENAS-MINI-3.0-XL+
Memory:
32 GiB
8 bays filled with 4TB drives
Single ZFS pool in RAIDZ2
500GB SSD for mirrored boot pool
I set up a test user and dataset, shared using SMB and mounted in MacOS Mojave.
The dataset was created with the following permissions (whatever the default is when the dataset is created):
In the Mac terminal, I can
cd
into the volume and create a file.Code:
Users-Mac-Pro:~ macuser$ cd /Volumes/Test/ Users-Mac-Pro:Test macuser$ touch test.txt
From the Shell on the TrueNAS GUI I can
cd
into the Test directory. When I check the file permissions, it looks like this:Code:
root@truenas[~]# cd /mnt/tank/Test root@truenas[/mnt/tank/Test]# ls -l test.txt -rwxrwx---+ 1 testuser testuser 0 Aug 8 17:02 test.txt
But back in the MacOS Terminal, when I check the permissions, the output looks like this:
Code:
Users-Mac-Pro:Test macuser$ ls -l test.txt -rwx------ 1 macuser staff 0 Aug 8 17:02 test.txt
Is this normal? Shouldn't the permissions look mostly similar? Is there something I'm not understanding? Is it because one is the root user and the other is not? Is it a bug in SMB?