[Nix-dev] ZFS on TMP and dealing with missing mode mount option

Roger Qiu roger.qiu at polycademy.com
Mon Dec 14 14:31:14 CET 2015


Hi,

ZFS doesn't have a mode option during mounting. See: 
https://github.com/zfsonlinux/zfs/issues/4101

If I need a filesystem mounted with 1777 permissions and sticky bit on 
boot, how can do that with ZFS and the NixOS fileSystems settings?

The fileSystems settings has no option to run a post setup command like 
`chown 1777 /tmp`.

Thanks,
Roger

-- 
Founder of Matrix AI
http://matrix.ai/
+61420925975



More information about the nix-dev mailing list