shnurov
Explorer
- Joined
- Jul 22, 2015
- Messages
- 74
I'm currently setting up a system for my friend's office and I'm having some user issues.
I created a new user for an rSync task. I couldn't get things to work at first, although after moving said user's Home Directory to the same folder as the main dataset, my shell commands started to work.
Unfortunately that also broke my access from the Guest (and my user) user to that Media share from multiple MacOS clients.
I've tried resetting the permissions. I have set them recursively to nobody/media - my default to the dataset, but that did not help.
-
Update after few hours of troubleshooting
I have no access to any new shares or datasets created onwards.
I am able to mkdir a directory and see everything when I log in as root via shell.
Re-creating the share did not help - tells me 'You do not have Permission to Access this Sever'
I have another pool on the server and that one has no issues.
My other dataset has the following ACL
I created a new user for an rSync task. I couldn't get things to work at first, although after moving said user's Home Directory to the same folder as the main dataset, my shell commands started to work.
Unfortunately that also broke my access from the Guest (and my user) user to that Media share from multiple MacOS clients.
I've tried resetting the permissions. I have set them recursively to nobody/media - my default to the dataset, but that did not help.
-
Update after few hours of troubleshooting
I have no access to any new shares or datasets created onwards.
Code:
root@freenas[~]# getfacl /mnt/z1
# file: /mnt/z1
# owner: root
# group: wheel
owner@:rwxp--aARWcCos:-------:allow
group@:rwxp--a-R-c--s:-------:allow
everyone@:------a-R-c--s:-------:allow
root@freenas[~]# getfacl /mnt/z1/Media
# file: /mnt/z1/Media
# owner: nobody
# group: media
owner@:rwxpDdaARWcCos:fd-----:allow
group@:rwxpDdaARWcCos:fd-----:allow
everyone@:--------------:fd-----:allow
I am able to mkdir a directory and see everything when I log in as root via shell.
Re-creating the share did not help - tells me 'You do not have Permission to Access this Sever'
I have another pool on the server and that one has no issues.
My other dataset has the following ACL
Code:
# file: z1-3tb
# owner: root
# group: wheel
owner@:rwxp--aARWcCos:-------:allow
group@:r-x---a-R-c--s:-------:allow
everyone@:r-x---a-R-c--s:-------:allow
# file: z1-3tb/Aux
# owner: nobody
# group: media
owner@:rwxpDdaARWcCos:fd-----:allow
group@:rwxpDdaARWcCos:fd-----:allow
everyone@:--------------:fd-----:allow
Last edited: