If you read 10 topics below you see people having issues with CIFS shares becoming read-only, etc. And it's not just 1 case, there is many. I myself installed FreeNAS 2 days ago(9.3 STABLE) and BAM! - same issue. Ok, I gave up on setting anonymous/free/open share because in my case RO is fine. I created "home-users" group and then added 2 users to it. Added this groups to permissions on Datasets (using root as a user on dataset) and called it a day.
What I observe is that in Windows "Everyone" get's read permissions. And I can create file but can't modify it. Also it get's "root" full access and "home-users" group full access. This is understandable, but what's NOT understandable is whole thing about "guest" user paradigm in FreeNAS.
I will say that I'm not an Admin, I'm Microsoft developer with 15+ years of experience and just recently I started to play with Linux. I have some basic Linux installations behind my belt. Asterisk, etc. So, I DO understand how linux permissions work. There is nothing really to it.
NOW. I do understand that SAMBA is nothing but software demon serving Linux file system to the windows clients. And, FreeNAS using it for CIFS sharing. OK. I know I can play with it via .conf files but thats not "right", because I want to use FreeNAS gui.
So, issue #1:
1. ZFS is a *nix file system. When I create Dataset in storage, why would I even bother saying it's Windows or Mac?? It's on *nix, why is this needed? IMO if I share via CIFS - yes, it's Windows, so why even confuse like this?
2. When creating CIFS share. Looks like "Apply SANE permissions" is one part of ticket where FreeNAS will forward *nix permissions to windows, thats why we see them in security properties. Another part is "anonymous" access that's controlled via check boxes. And not working. If it's for Windows, why can't we just have *nix permissions forwarded to world? Where "anyone" level on *nix will transfer to "Everyone" on windows? That would be easiest and understandable. No need for "Read only", "Only anonymous", etc.
3. CIFS shares look like they work. But all of the sudden (and I had it happen couple times already) - on a windows side it will show "UNKNOWN" permission group. Or user. In console on FreeNAS it will throw something about deadlock and not able to lookup group by id and so on.
4. AFN (Mac TimeMachine). I was really happy. Setup share yesterday, my Mac happily started to backup via WiFi. I went to work, Mac re-connected (my routers tunneled) and kept backing up. Great! I decided let me take thunderbolt network adapter home and let my Mac complete backup over ethernet. Once connected - Mac can't find TimeMachine anymore. After restarting service (just because I learned to restart) - it won't connect still, and I was getting repetative errors in FreeNAS console (there is plenty of topics on this). Connected via WiFi again - works! Connects! Well, maybe it should function like that, but I don't think Apple's device will behave like this..
5. Installed plugin Crashplan - Problem again. Until I modified .conf file - nothing worked. It's not FreeNAS product, but it kind of goes together with experience.
To be honest - I'm little sad with a situation. On a surface set of features work great. And it is marketed to home users, etc. And there is GUI. But basic things just don't work right away. I'm not even sure if data is safe when system behaves like this in any place I touch. Usually I don't "complain" but this one been just weird feeling, I though if something so popular - it should be working out of the box..
What I observe is that in Windows "Everyone" get's read permissions. And I can create file but can't modify it. Also it get's "root" full access and "home-users" group full access. This is understandable, but what's NOT understandable is whole thing about "guest" user paradigm in FreeNAS.
I will say that I'm not an Admin, I'm Microsoft developer with 15+ years of experience and just recently I started to play with Linux. I have some basic Linux installations behind my belt. Asterisk, etc. So, I DO understand how linux permissions work. There is nothing really to it.
NOW. I do understand that SAMBA is nothing but software demon serving Linux file system to the windows clients. And, FreeNAS using it for CIFS sharing. OK. I know I can play with it via .conf files but thats not "right", because I want to use FreeNAS gui.
So, issue #1:
1. ZFS is a *nix file system. When I create Dataset in storage, why would I even bother saying it's Windows or Mac?? It's on *nix, why is this needed? IMO if I share via CIFS - yes, it's Windows, so why even confuse like this?
2. When creating CIFS share. Looks like "Apply SANE permissions" is one part of ticket where FreeNAS will forward *nix permissions to windows, thats why we see them in security properties. Another part is "anonymous" access that's controlled via check boxes. And not working. If it's for Windows, why can't we just have *nix permissions forwarded to world? Where "anyone" level on *nix will transfer to "Everyone" on windows? That would be easiest and understandable. No need for "Read only", "Only anonymous", etc.
3. CIFS shares look like they work. But all of the sudden (and I had it happen couple times already) - on a windows side it will show "UNKNOWN" permission group. Or user. In console on FreeNAS it will throw something about deadlock and not able to lookup group by id and so on.
4. AFN (Mac TimeMachine). I was really happy. Setup share yesterday, my Mac happily started to backup via WiFi. I went to work, Mac re-connected (my routers tunneled) and kept backing up. Great! I decided let me take thunderbolt network adapter home and let my Mac complete backup over ethernet. Once connected - Mac can't find TimeMachine anymore. After restarting service (just because I learned to restart) - it won't connect still, and I was getting repetative errors in FreeNAS console (there is plenty of topics on this). Connected via WiFi again - works! Connects! Well, maybe it should function like that, but I don't think Apple's device will behave like this..
5. Installed plugin Crashplan - Problem again. Until I modified .conf file - nothing worked. It's not FreeNAS product, but it kind of goes together with experience.
To be honest - I'm little sad with a situation. On a surface set of features work great. And it is marketed to home users, etc. And there is GUI. But basic things just don't work right away. I'm not even sure if data is safe when system behaves like this in any place I touch. Usually I don't "complain" but this one been just weird feeling, I though if something so popular - it should be working out of the box..
Last edited: