Dwarf Cavendish
Contributor
- Joined
- Dec 19, 2017
- Messages
- 121
Yesterday I set up my NAS with FreeNAS 11.1 and most things appear to work fine. However, I have by now spent hours getting home directories to work over samba.
The dataset and share settings look like this:
My user settings (for my own user account) look like this:
What I noticed yesterday is when I removed write permissions for anyone but myself I could not open my home share in Windows anymore. Also, I cannot write to home shares. When I look at the permission from Windows they look like this:
I could relate this to the ownership of the dataset, however, dataset ownership does not seem to have any effect on the permissions shown in the last screenshot. I also still cannot write to my home directory. Other datasets/shares work fine, though, and I can change permissions using Windows there. Can someone tell my how I am supposed to configure this? I searched https://doc.freenas.org/11/sharing.html#windows-smb-shares for "home", but I could did not find anything helpful there. Also, wheel has write access to the home share, but adding myself to the wheel group doesn't give me write access (apart from the fact that it would be a hairy solution).
Something else that worries me a bit: yesterday I was able to change homedir permissions for users, but today I couldn't anymore, for any of the users I made. It just reverts to 775 now, which I believe was the last setting I tried to get home shares working. What could be causing this? When I try to do chmod -R 700 on a homedir in a terminal, it says "operation not permitted".
I hope that someone can help me out, thanks in advance.
The dataset and share settings look like this:


My user settings (for my own user account) look like this:


What I noticed yesterday is when I removed write permissions for anyone but myself I could not open my home share in Windows anymore. Also, I cannot write to home shares. When I look at the permission from Windows they look like this:

I could relate this to the ownership of the dataset, however, dataset ownership does not seem to have any effect on the permissions shown in the last screenshot. I also still cannot write to my home directory. Other datasets/shares work fine, though, and I can change permissions using Windows there. Can someone tell my how I am supposed to configure this? I searched https://doc.freenas.org/11/sharing.html#windows-smb-shares for "home", but I could did not find anything helpful there. Also, wheel has write access to the home share, but adding myself to the wheel group doesn't give me write access (apart from the fact that it would be a hairy solution).
Something else that worries me a bit: yesterday I was able to change homedir permissions for users, but today I couldn't anymore, for any of the users I made. It just reverts to 775 now, which I believe was the last setting I tried to get home shares working. What could be causing this? When I try to do chmod -R 700 on a homedir in a terminal, it says "operation not permitted".
I hope that someone can help me out, thanks in advance.
Last edited: