[storage-discuss] Creating ZFS filesystem with permissions other than 755 (default)

Jozef Hamar hamar at jozef.name
Wed Sep 30 03:13:19 PDT 2009


Hello.

Actually, this workaround will make me to rewrite some existing code in 
the old app which is well coded and well tested. I was trying to avoid that.
If it is not possible to create the filesystem with permissions I need, 
I will rather redesign the whole thing rather than making some workarounds.

But thank you anyway.

Jozef Hamar

Kjetil Torgrim Homme wrote:
> Jozef Hamar writes:
>
>   
>> Is it possible to create ZFS filesystem with other than default
>> permission of 755? I need to create and chmod the filesytem in atomic
>> way. No reference to this in manual...
>>     
>
> as a workaround, you can do
>
>   zfs create -o mountpoint=/some/place/inaccessible tank/foo
>   chmod 700 /some/place/inaccessible
>   zfs set mountpoint=/the/real/mountpoint tank/foo
>
>   



More information about the storage-discuss mailing list