BTS

Message1664

Author aroedl
Recipients aroedl
Date 2008-11-26.14:24:29
Content
How to reproduce:
- Create file on a mounted (harddisk) file system (tested on XFS):
  touch test

- Check extended attributes:
  attr -l test

As soon as you try to copy that file on a system without the SMACK patch, cp
crashes with a segmentation fault.

lsetxattr("../test", "security.SMACK64", "_", 2, 0) = -1 EPERM (Operation not
permitted)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

Removing that SMACK attribute fixes the problem.
History
Date User Action Args
2008-11-26 14:24:29aroedlsetrecipients: + aroedl
2008-11-26 14:24:29aroedlsetmessageid: <1227709469.75.0.562573517688.issue568@bts.grml.org>
2008-11-26 14:24:29aroedllinkissue568 messages
2008-11-26 14:24:29aroedlcreate