[zfs-code] Permission/ACL issues

2007-01-21 Thread Ricardo Correia
Hi, I'm having a problem with a simple sanity check performed by 'iozone -a'. Basically, iozone create a file with a permission value of 0 and then it tries to truncate it: 1) fd = open("file", O_WRONLY|O_CREAT, 0) 2) ftruncate(fd, 0) In zfs-fuse, the ftruncate() call ends up calling zfs_setat

[zfs-code] Permission/ACL issues

2007-01-21 Thread Mark Shellenbaum
Ricardo Correia wrote: > Hi, > > I'm having a problem with a simple sanity check performed by 'iozone -a'. > > Basically, iozone create a file with a permission value of 0 and then it > tries > to truncate it: > > 1) fd = open("file", O_WRONLY|O_CREAT, 0) > 2) ftruncate(fd, 0) > > In zfs-fuse