[issue568] Files created by grml are equipped with SMACK attributes

Andreas Roedl bts at bts.grml.org
Wed Nov 26 15:24:29 CET 2008


New submission from Andreas Roedl <andreas.roedl at googlemail.com>:

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.

----------
messages: 1664
nosy: aroedl
priority: critical
status: unread
title: Files created by grml are equipped with SMACK attributes

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue568>
_____________________________________


More information about the Bugs-changes mailing list