Vfs_winmsa in SCALE? Applying destination folder ACLs when moving files

The design philosophy of ZFS and Samba is that a move is a rename, and therefore ACLs are preserved.

My users struggle to see how this behavior makes sense, and I agree with them. It can cause significant unexpected behavior (loss of access), since the user’s focus is the destination’s folder (and its permissions). For them, the act of moving is an act of authorizing access. Admins shouldn’t chmod routinely, and I definitely don’t want my users chmod’ing around. Also, for a user a copy+delete is (nearly) indistinguishable from a move, so its results should align.

I saw that this is enough of an issue, that Microsoft developed a MoveSecurityAttributes regkey for Windows Explorer to do this. More importantly, @awalkerix wrote a comparable winmsa VFS module for TrueNAS. (At least one enterprise customer demanded it, and non-TrueNAS Samba users were also interested in this functionality.)

That was in CORE, though. Doesn’t seem like it exists in SCALE? Is it on the roadmap?

Thanks!

No. It’s not really on the roadmap. It’s important to understand in Windows this feature basically has the client set ACLs after moving it (client-side change). Doing it server side is very difficult to do with proper safety guarantees.