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

Alexander Zubkov green at msu.ru
Mon Dec 14 14:39:50 CET 2015


The mode is not mount option, but permissions configured on filesystem's 
folder. You should mount needed filesystem to /tmp or somewhere else, do 
chown on that and then it will be written and saved on filesystem and 
should persist on remounting.

On 14.12.2015 16:31, Roger Qiu wrote:
> 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
>



More information about the nix-dev mailing list