Advantage of windows vs unix permissions?

Status
Not open for further replies.

fullspeed

Contributor
Joined
Mar 6, 2015
Messages
147
On one server I have UNIX datasets and I simply added Windows permissions on top of them and everything works like a champ.

For my new server I have Windows datasets with Windows permissions which work great until I have to transfer files via FTP then it breaks because it can't chmod.

I've looked through various threads and I understand why chmod doesn't work and why the perms are separate but I don't understand why I would use windows perms natively if there is no real advantage to it (and only in my case a disadvantage)

And in my case it's a huge disadvantage because CIFS will never go over 55MB/s per transfer but I've gotten FTP to almost 750MB/s.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
You have 10GB networking correct? Just want to make sure your 750MB/s number is what you think it is and not 750Mb/s. If this is the case I think you have something wrong with your network because 55MB/s is very slow even for a 1Gb network. I get ~90MB/s on my silly little home network. You should be able to get similar speeds to your ftp speeds over cifs with a little work but ftp will always be a little faster.

The advantage to using windows permissions is the ability to easily modify them using the windows security gui. There is probably some other interesting features also but I can't come up with any ideas. If you want to change the permissions when using acl's you can use getfacl and setfacl instead of chmod.
 

fullspeed

Contributor
Joined
Mar 6, 2015
Messages
147
You have 10GB networking correct? Just want to make sure your 750MB/s number is what you think it is and not 750Mb/s. If this is the case I think you have something wrong with your network because 55MB/s is very slow even for a 1Gb network. I get ~90MB/s on my silly little home network. You should be able to get similar speeds to your ftp speeds over cifs with a little work but ftp will always be a little faster.

The advantage to using windows permissions is the ability to easily modify them using the windows security gui. There is probably some other interesting features also but I can't come up with any ideas. If you want to change the permissions when using acl's you can use getfacl and setfacl instead of chmod.

I have a long thread about the CIFS issue and nobody has an answer for me, I certainly cannot figure it out. I can get about 350-400MB/s through the server overall but each thread will only go 55MB/s max no matter what setting I change, no matter what sysctl and I have four different servers using two different types of controllers and i've tried different firmware. It's honestly baffling and quite sad actually seeing how substantial my hardware is. My piddly home box gets around 80-90MB/s as well.

Back to the permissions issue however.. Even with UNIX datasets I am still able to change permissions via the windows security prompt via the shares, which is why I posted this thread. If I can do that then why bother with Windows datasets? just an honest question.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
So I think when you change via the windows security box and have unix permissions on the dataset things end up not being what you think they are. The translation layer gets funny and should show up as 'special' on the windows side if you have unix permissions. I don't have a windows box to test right now but should be easy to check. A simple test would be to create a file locally then modify the permissions via windows and then see what mode bits actually get set. It might work for all i know but i don't think it will.
 

fullspeed

Contributor
Joined
Mar 6, 2015
Messages
147
So I think when you change via the windows security box and have unix permissions on the dataset things end up not being what you think they are. The translation layer gets funny and should show up as 'special' on the windows side if you have unix permissions. I don't have a windows box to test right now but should be easy to check. A simple test would be to create a file locally then modify the permissions via windows and then see what mode bits actually get set. It might work for all i know but i don't think it will.

Nope everything shows up perfectly (and works perfectly), perhaps i haven't used them to the extent where I find a difference. Either way I'd like to know because I have to choose unix or windows on the new server.
 
Status
Not open for further replies.
Top