Michael173
Cadet
- Joined
- Jan 9, 2015
- Messages
- 4
Dear forum members,
over christmas time I have replaced our out-dated Linux Samba box by a new family file server based on FreeNAS build FreeNAS-9.3-STABLE-201412090314. Since hat least my wife and I use mainly a MacBook, I tried to set up an AFP share but run into a strange behavior regarding the permission settings:
Problem:
Directories are always created with the permissions 775 although they should have 770 according to the configuration - at least as far as I understand it.
Expected permission setting after creation of file and directory over AFP-Share :
drwxrwx--- 4 nobody images 4 Jan 9 22:16 ./
drwxr-x--- 6 root wheel 6 Jan 9 22:10 ../
drwxr-x--- 2 root images 9 Jan 9 22:16 .AppleDB/
drwxrwx--- 2 mickey images 3 Jan 9 22:16 test/
Current permission setting after creation of file and directory over AFP-Share :
(Checked via SSH on FreeNAS box)
[root@FreeNAS] /mnt/MIRROR_1/testing# ls -la
total 10
drwxrwx--- 4 nobody images 4 Jan 9 22:16 ./
drwxr-xr-x 6 root wheel 6 Jan 9 22:10 ../
drwxr-xr-x 2 root images 9 Jan 9 22:16 .AppleDB/
drwxrwxr-x 2 mickey images 3 Jan 9 22:16 test/
Configuration:
The permission type of the corresponding Dataset is UNIX, the mode 770. The user is set to nobody and the group to images.
The AFP-Shhare based on this Dataset has the following configuration:
Question:
I'd appreciate any hint if I made an error in reasoning - or is this a bug and I should file a bug report?
Thanks for your help!
Michael
over christmas time I have replaced our out-dated Linux Samba box by a new family file server based on FreeNAS build FreeNAS-9.3-STABLE-201412090314. Since hat least my wife and I use mainly a MacBook, I tried to set up an AFP share but run into a strange behavior regarding the permission settings:
Problem:
Directories are always created with the permissions 775 although they should have 770 according to the configuration - at least as far as I understand it.
Expected permission setting after creation of file and directory over AFP-Share :
drwxrwx--- 4 nobody images 4 Jan 9 22:16 ./
drwxr-x--- 6 root wheel 6 Jan 9 22:10 ../
drwxr-x--- 2 root images 9 Jan 9 22:16 .AppleDB/
drwxrwx--- 2 mickey images 3 Jan 9 22:16 test/
Current permission setting after creation of file and directory over AFP-Share :
(Checked via SSH on FreeNAS box)
[root@FreeNAS] /mnt/MIRROR_1/testing# ls -la
total 10
drwxrwx--- 4 nobody images 4 Jan 9 22:16 ./
drwxr-xr-x 6 root wheel 6 Jan 9 22:10 ../
drwxr-xr-x 2 root images 9 Jan 9 22:16 .AppleDB/
drwxrwxr-x 2 mickey images 3 Jan 9 22:16 test/
Configuration:
The permission type of the corresponding Dataset is UNIX, the mode 770. The user is set to nobody and the group to images.
The AFP-Shhare based on this Dataset has the following configuration:
- Allow List: @images, @images-adm
- Read-write Access: @images-adm
- AFP3 Unix Privs: Yes
- Default file permission: 660
- Default directory permission: 770
- Default umask: 007
Question:
I'd appreciate any hint if I made an error in reasoning - or is this a bug and I should file a bug report?
Thanks for your help!
Michael