This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
nas4free permissions do not work well with Windows.
-
single_platinum
- Starter

- Posts: 19
- Joined: 18 Aug 2013 04:17
- Status: Offline
nas4free permissions do not work well with Windows.
One thing that people complain about the most when I try to get them to use NAS4free instead of a QNAP or Synology is the weirdness of the permissions. I wish the NAS4free team would get this to work better with Windows, which is where a majority of users are coming from....
So if I have a directory structure under the share like this:
\upload admin -full control, everyone -change Owner: admin
\videos admin -full control, everyone -read+execute Owner:admin
I want anyone to be able to dump files into upload, and they can. However, when they do the Owner is not admin and I have to go into advanced permission settings and take control. What is worse is when I move the file into the \videos directory it does not inherit any of the permissions, admin gets removed as the owner, and I cant take full control. I am using Windows7 clients.
It seems as though NAS4free is not fully compatible with Windows file security settings or using Windows7 to set security properties, including ownership and inheritance.
Will a future release address this?
EDIT: This was never a problem with Nexenta, all of the Windows permissions and inheritance worked flawlessly.
So if I have a directory structure under the share like this:
\upload admin -full control, everyone -change Owner: admin
\videos admin -full control, everyone -read+execute Owner:admin
I want anyone to be able to dump files into upload, and they can. However, when they do the Owner is not admin and I have to go into advanced permission settings and take control. What is worse is when I move the file into the \videos directory it does not inherit any of the permissions, admin gets removed as the owner, and I cant take full control. I am using Windows7 clients.
It seems as though NAS4free is not fully compatible with Windows file security settings or using Windows7 to set security properties, including ownership and inheritance.
Will a future release address this?
EDIT: This was never a problem with Nexenta, all of the Windows permissions and inheritance worked flawlessly.
-
kenZ71
- Advanced User

- Posts: 379
- Joined: 27 Jun 2012 20:18
- Location: Northeast, USA
- Status: Offline
Re: nas4free permissions do not work well with Windows.
The permissions work very well for me.
I like the ability to lock the system down so only certain users can access the data. Seems like a good idea to me.
If your setting up NAS machines what is the level of permissions your client want? It would be very easy to leave the shares wide open or even use an AD server to control permissions.
I like the ability to lock the system down so only certain users can access the data. Seems like a good idea to me.
If your setting up NAS machines what is the level of permissions your client want? It would be very easy to leave the shares wide open or even use an AD server to control permissions.
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: nas4free permissions do not work well with Windows.
As for me permissions work very well. I use Authentication as local user.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
-
single_platinum
- Starter

- Posts: 19
- Joined: 18 Aug 2013 04:17
- Status: Offline
Re: nas4free permissions do not work well with Windows.
Again, this is the setup:
I have a directory structure under the share like this:
\upload admin -full control, everyone -change Owner: admin
\videos admin -full control, everyone -read+execute Owner:admin
I want anyone to be able to dump files into upload, and they can. However, when they do the Owner is not admin and I have to go into advanced permission settings and take control. What is worse is when I move the file into the \videos directory it does not inherit any of the permissions, admin gets removed as the owner, and I cant take full control. I am using Windows7 clients.
Can anyone explain why this does not work?
I have a directory structure under the share like this:
\upload admin -full control, everyone -change Owner: admin
\videos admin -full control, everyone -read+execute Owner:admin
I want anyone to be able to dump files into upload, and they can. However, when they do the Owner is not admin and I have to go into advanced permission settings and take control. What is worse is when I move the file into the \videos directory it does not inherit any of the permissions, admin gets removed as the owner, and I cant take full control. I am using Windows7 clients.
Can anyone explain why this does not work?
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: nas4free permissions do not work well with Windows.
You not understand Unix permissions. Executable is unix-executable,not windows. You need only readable.
See my old post - it can help you
I understand, you want folder uploads must be open for all for read and write
folder movies must be read-only for users and read+write for admin.
define your users from group nobody, and define admin from group wheel.
Create folders same as on pictures

for each users admin include create Home directory as /mnt/data/samba on tab Access|Users|Add
define share as

As for me work as expected. Also I deny Inherit permissions.
See my old post - it can help you
I understand, you want folder uploads must be open for all for read and write
folder movies must be read-only for users and read+write for admin.
define your users from group nobody, and define admin from group wheel.
Create folders same as on pictures

for each users admin include create Home directory as /mnt/data/samba on tab Access|Users|Add
define share as

As for me work as expected. Also I deny Inherit permissions.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
-
single_platinum
- Starter

- Posts: 19
- Joined: 18 Aug 2013 04:17
- Status: Offline
Re: nas4free permissions do not work well with Windows.
Again, you are basically saying that the windows permissions dialog doesn't really work. The majority of users coming to NAS4free are windows users. Expecting them to just to conform themselves to Unix permissions isn't a reasonable expectation, and as long as that is an assumption then Windows users will continue to gravitate towards QNAP and Synology boxes.
Nexenta does a much better job of integrating with Windows permissions. I guess I will have to steer users towards that solution.
Nexenta does a much better job of integrating with Windows permissions. I guess I will have to steer users towards that solution.
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: nas4free permissions do not work well with Windows.
Why all work on my network? What I do wrong?
I not need on my server permissions from unknow system such windows.Again, you are basically saying that the windows permissions dialog doesn't really work.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
-
Onichan
- Advanced User

- Posts: 238
- Joined: 04 Jul 2012 21:41
- Status: Offline
Re: nas4free permissions do not work well with Windows.
NTFS uses ACL's, if you want the same kind of permissions on Unix then you are required to use ACL's as well. Which I haven't personally used, but I heard isn't too hard. Though I will agree it takes more work then those prebuilt boxes such as Synology. I don't think this really is an issue though as anybody comparing the two should easily notice NAS4Free takes a little bit of effort when setting it up and is designed for people at least a little technically inclined.single_platinum wrote:Again, you are basically saying that the windows permissions dialog doesn't really work. The majority of users coming to NAS4free are windows users. Expecting them to just to conform themselves to Unix permissions isn't a reasonable expectation, and as long as that is an assumption then Windows users will continue to gravitate towards QNAP and Synology boxes.
Nexenta does a much better job of integrating with Windows permissions. I guess I will have to steer users towards that solution.
-
single_platinum
- Starter

- Posts: 19
- Joined: 18 Aug 2013 04:17
- Status: Offline
Re: nas4free permissions do not work well with Windows.
When I set up a Nexenta install, the permission inheritance works right out of the box. I can set permissions and inheritance with the native windows file dialog box. Why is it considered sacrilege to expect this functionality out of NAS4free?
When I get criticized for asking why something doesn't work as expected, it is like your saying "we don't want new users" or "we don't want this project to be successful".
When you crap on new users, what is it that you expect to accomplish? Do you expect this will magically attract more users to the platform?
When I get criticized for asking why something doesn't work as expected, it is like your saying "we don't want new users" or "we don't want this project to be successful".
When you crap on new users, what is it that you expect to accomplish? Do you expect this will magically attract more users to the platform?
-
Onichan
- Advanced User

- Posts: 238
- Joined: 04 Jul 2012 21:41
- Status: Offline
Re: nas4free permissions do not work well with Windows.
I am not familiar with Nexenta, but are you saying it pulls user account info from your desktop by default and uses that for permissions? If that is true then that seems the wrong way to go about it. A NAS generally speaking is designed to be accessed by multiple systems with different local accounts. If that isn't what you are saying then I don't understand.
Anyways I think new users are good, but to me it seems like you are complaining about something small and trying threaten that other people aren't going to use NAS4Free just because of this when I don't think anybody really cares what you use and they aren't begging users to use it.
Anyways I think new users are good, but to me it seems like you are complaining about something small and trying threaten that other people aren't going to use NAS4Free just because of this when I don't think anybody really cares what you use and they aren't begging users to use it.
- siftu
- Moderator

- Posts: 71
- Joined: 17 Oct 2012 06:36
- Status: Offline
Re: nas4free permissions do not work well with Windows.
I have a post about windows and acls
http://n4f.siftusystems.com/index.php/2 ... ions-acls/
I dont use windows, but it seems to be what most users are after. And I agree these options should at least be dropdowns when creating datasets.
http://n4f.siftusystems.com/index.php/2 ... ions-acls/
I dont use windows, but it seems to be what most users are after. And I agree these options should at least be dropdowns when creating datasets.
System specs: NAS4Free amd64-embedded on ASUSTeK. M5A78L-M LX PLUS - AMD Phenom(tm) II X3 720 Processor - 8GB ECC Ram, Storage: 2x ZFS mirrors with 4x Western Digital Green (WDC WD10EADS)
My NAS4Free related blog - http://n4f.siftusystems.com/
My NAS4Free related blog - http://n4f.siftusystems.com/
-
single_platinum
- Starter

- Posts: 19
- Joined: 18 Aug 2013 04:17
- Status: Offline
Re: nas4free permissions do not work well with Windows.
siftu, THANK YOU! That is EXACTLY what I am talking about.siftu wrote:I have a post about windows and acls
http://n4f.siftusystems.com/index.php/2 ... ions-acls/
I dont use windows, but it seems to be what most users are after. And I agree these options should at least be dropdowns when creating datasets.
It appears Nexenta defaults to this CIFS functionality out of the box. I really wish this was the default for NAS4free.
Yes, I made this text deliberately huge because I am quite pleased with the response from siftu.
-
single_platinum
- Starter

- Posts: 19
- Joined: 18 Aug 2013 04:17
- Status: Offline
Re: nas4free permissions do not work well with Windows.
I have just finished testing this out and it appears to work predictably.
Siftu, how can I lobby the developers to have these be the default CIFS settings? This will really solve most users permission problems when using Windows.
Siftu, how can I lobby the developers to have these be the default CIFS settings? This will really solve most users permission problems when using Windows.
- siftu
- Moderator

- Posts: 71
- Joined: 17 Oct 2012 06:36
- Status: Offline
Re: nas4free permissions do not work well with Windows.
Well I was going to add the options when creating the datasets.. I just have to find some time
System specs: NAS4Free amd64-embedded on ASUSTeK. M5A78L-M LX PLUS - AMD Phenom(tm) II X3 720 Processor - 8GB ECC Ram, Storage: 2x ZFS mirrors with 4x Western Digital Green (WDC WD10EADS)
My NAS4Free related blog - http://n4f.siftusystems.com/
My NAS4Free related blog - http://n4f.siftusystems.com/
-
single_platinum
- Starter

- Posts: 19
- Joined: 18 Aug 2013 04:17
- Status: Offline
Re: nas4free permissions do not work well with Windows.
Thank you, thank you, thank you!siftu wrote:Well I was going to add the options when creating the datasets.. I just have to find some time
I hope somebody on the team is doing statistical analysis of tech support related complaints. I am quite sure that changing this will result in a measurable decrease in file permission related complaints about CIFS shares.
-
single_platinum
- Starter

- Posts: 19
- Joined: 18 Aug 2013 04:17
- Status: Offline
Now I have another problem....
I did an import of my Nexenta volume, and followed the instructions here: http://n4f.siftusystems.com/index.php/2 ... ions-acls/
I would have thought the chown -R command would have given me permissions on the imported pool, but it does not.
Any suggestions???
I would have thought the chown -R command would have given me permissions on the imported pool, but it does not.
Any suggestions???
-
kenZ71
- Advanced User

- Posts: 379
- Joined: 27 Jun 2012 20:18
- Location: Northeast, USA
- Status: Offline
Re: nas4free permissions do not work well with Windows.
Sorry, I seem to be missing something.single_platinum wrote:Thank you, thank you, thank you!siftu wrote:Well I was going to add the options when creating the datasets.. I just have to find some time
I hope somebody on the team is doing statistical analysis of tech support related complaints. I am quite sure that changing this will result in a measurable decrease in file permission related complaints about CIFS shares.
I understand the permissions are not exactly what you want - that can be fixed.
I also know that the permissions standards that CIFS is using is rock solid. FreeBSD, the guts of NAS4Free, powers some huge / robust servers.
Please don't give up, you will have a very secure system once your done.
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu
-
single_platinum
- Starter

- Posts: 19
- Joined: 18 Aug 2013 04:17
- Status: Offline
Re: nas4free permissions do not work well with Windows.
The ZFS pool I imported from Nexenta had all of the permissions reset to d---------
The only way to fix it was to go in with advanced file manager to each subdirectory and manually set them to drwxr-xr-x
It would be nice if the system were able to fix all of the permissions when importing a ZFS pool.
The only way to fix it was to go in with advanced file manager to each subdirectory and manually set them to drwxr-xr-x
It would be nice if the system were able to fix all of the permissions when importing a ZFS pool.
-
durcom
- NewUser

- Posts: 3
- Joined: 16 Oct 2013 00:57
- Status: Offline
Re: nas4free permissions do not work well with Windows.
Siftu:
Thanks for the windows ACL post. It works for me. One problem I have though. It seems zfs snapshots are no longer exposed in the share accessed via windows explorer (no .zfs folders and no "previous versions")
Any ideas?
Thanks for the windows ACL post. It works for me. One problem I have though. It seems zfs snapshots are no longer exposed in the share accessed via windows explorer (no .zfs folders and no "previous versions")
Any ideas?
- siftu
- Moderator

- Posts: 71
- Joined: 17 Oct 2012 06:36
- Status: Offline
Re: nas4free permissions do not work well with Windows.
The .zfs directory can be exposed via setting the snapdir attribute. "zfs set snapdir=visible pool/dataset"
Not sure about the shadow copy thing
Not sure about the shadow copy thing
System specs: NAS4Free amd64-embedded on ASUSTeK. M5A78L-M LX PLUS - AMD Phenom(tm) II X3 720 Processor - 8GB ECC Ram, Storage: 2x ZFS mirrors with 4x Western Digital Green (WDC WD10EADS)
My NAS4Free related blog - http://n4f.siftusystems.com/
My NAS4Free related blog - http://n4f.siftusystems.com/
-
durcom
- NewUser

- Posts: 3
- Joined: 16 Oct 2013 00:57
- Status: Offline
Re: nas4free permissions do not work well with Windows.
I have enabled that setting in the gui to expose .zfs and it doesn't work
Also, I created another share, using the standard CIFS parameters and the .zfs folders are exposed.
As soon as I enable ZFS ACL and your suggested additional parameters, .zfs folders are no longer exposed on the share
Also, I created another share, using the standard CIFS parameters and the .zfs folders are exposed.
As soon as I enable ZFS ACL and your suggested additional parameters, .zfs folders are no longer exposed on the share
-
durcom
- NewUser

- Posts: 3
- Joined: 16 Oct 2013 00:57
- Status: Offline
Re: nas4free permissions do not work well with Windows.
Just tested again..."Enable ZFS ACL" seems to be the culprit...enable it an no .zfs folder, disable it and .zfs folders appear