From: Richard D. <ric...@us...> - 2011-08-06 09:23:06
|
Update of /cvsroot/file-extattr/File-ExtAttr/lib/File In directory vz-cvs-3.sog:/tmp/cvs-serv5414/lib/File Modified Files: ExtAttr.pm Log Message: Bump version to 1.10. Add a note about the XATTR_CREATE bug for ext4 on Linux. Index: ExtAttr.pm =================================================================== RCS file: /cvsroot/file-extattr/File-ExtAttr/lib/File/ExtAttr.pm,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** ExtAttr.pm 5 Mar 2009 06:42:20 -0000 1.35 --- ExtAttr.pm 6 Aug 2011 09:23:04 -0000 1.36 *************** *** 179,183 **** ); ! our $VERSION = '1.09'; #this is used by getxattr(), needs documentation --- 179,183 ---- ); ! our $VERSION = '1.10'; #this is used by getxattr(), needs documentation *************** *** 253,256 **** --- 253,263 ---- If your code relies on the C<create> behaviour, it may be insecure on *BSD. + Note that there is a bug in Linux's ext4 filesystem that prevents + the C<create> option from working correctly. On ext4 filesystems, + C<create> will not prevent pre-existing attributes from being overwritten. + This bug was found in April 2011. See + L<http://www.spinics.net/lists/linux-fsdevel/msg43989.html> for more details. + This bug may be fixed in Linux 2.6.39 or 3.0. + =cut *************** *** 442,446 **** Copyright (C) 2005 by Kevin M. Goess ! Copyright (C) 2005, 2006, 2007, 2008 by Richard Dawe This library is free software; you can redistribute it and/or modify --- 449,453 ---- Copyright (C) 2005 by Kevin M. Goess ! Copyright (C) 2005, 2006, 2007, 2008, 2009, 2011 by Richard Dawe This library is free software; you can redistribute it and/or modify |