ftruncate under ZFS incorrectly checks permissions

Mark Martinec Mark.Martinec+freebsd at ijs.si
Fri Mar 4 11:37:49 UTC 2011


Any takers for the:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=154873

?

Summary:
  ftruncate under ZFS requires W file access permission,
  instead of testing file open mode (O_RDWR),
  (violating POSIX.1-2008 and breaking Postfix mailer)

(FreeBSD 8.2, ZFS: pool version 15, ZFS version 4, and earlier)

  Mark


More information about the freebsd-fs mailing list