Another selinux rant

Michael Wiktowy michael.wiktowy at gmail.com
Fri Jan 4 20:39:34 UTC 2008


On Jan 4, 2008 11:40 AM, Ed Swierk <eswierk at arastra.com> wrote:
> On 1/4/08, Tomasz Torcz <tomek at crocom.com.pl> wrote:
> > tar with "--xattrs"?
>
> No, I didn't realize --xattrs existed; the tar info page doesn't
> mention it. Oh, there it is in the man page.
> I see. I now notice ls has a -Z option that shows the SELinux security context.
>
> It would be nice if ls -l would show the security context by default
> when SELinux is enabled, as the context is apparently just as
> important as file permissions.

I started to use cp -P + rm rather than mv to shuffle around config
files and files between user directories and 99% of my selinux
attribute issues went away. I checked the man page for mv and didn't
see anything; is there an equivalent to cp's -P parameter for mv?

/Mike




More information about the fedora-devel-list mailing list