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


_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to