Adrian Penisoara wrote:
Is the ownership of the new file decided by the open() syscall or by
the filesystem layer ?
On a superficial lookup through the sources it appears a filesystem
layer choice...

Which of the following would then be the best option (also taking POLA
into account):
 * leave things are they are
 * make ZFS under FreeBSD behave the way open(2) describes
 * have a new ZFS property govern the behavior and default to one of the above

Thanks,
Adrian Penisoara
EnterpriseBSD


Thanks all for answering (sorry for the multiple posts, I was tuning my mail server)

I believe that on a same freebsd there should be a consistent behavior among different mounts. So in my opinion ZFS should conform to UFS (or UFS to ZFS, if that's desirable).

The best thing would be to have a sysctl tunable to choose that (sysv5 / bsd). BSD should
be default, since it makes more sense for workgroups...
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to