[Bug 203433] Re: "cp" command doesn't preserve selinux context

2009-10-28 Thread C de-Avillez
Thank you, hoban/tgelter. Closing, then, as Fix Released. ** Changed in: coreutils (Ubuntu) Status: Triaged => Fix Released -- "cp" command doesn't preserve selinux context https://bugs.launchpad.net/bugs/203433 You received this bug notification because you are a member of Ubuntu Bugs, w

[Bug 203433] Re: "cp" command doesn't preserve selinux context

2009-10-28 Thread hoban
Hey. I had forgotten all about this bug. :) Yep, it's fixed now, thanks! -- "cp" command doesn't preserve selinux context https://bugs.launchpad.net/bugs/203433 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 203433] Re: "cp" command doesn't preserve selinux context

2009-10-28 Thread C de-Avillez
Hello tgelter, Could you please check if this is resolved on Karmic? -- "cp" command doesn't preserve selinux context https://bugs.launchpad.net/bugs/203433 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ub

[Bug 203433] Re: "cp" command doesn't preserve selinux context

2008-10-07 Thread hggdh
thank you for opening this bug and helping make Ubuntu better. A patch has just been proposed upstream and, if accepted, it should be added to coreutils-7.0 (and make it to Intrepid+1). The just-proposed patch was presented with this text: -- Subject: [PATCH]: cp '-a'

[Bug 203433] Re: "cp" command doesn't preserve selinux context

2008-03-18 Thread tgelter
I hadn't actually tested the -p or the --preserve=context. Here's why (this done on RHEL 5.1): [EMAIL PROTECTED] tmp]# ls -Z /etc/shadow -r root root system_u:object_r:shadow_t /etc/shadow [EMAIL PROTECTED] tmp]# cp -p /etc/shadow . [EMAIL PROTECTED] tmp]# ls -Z shadow -r r

[Bug 203433] Re: "cp" command doesn't preserve selinux context

2008-03-18 Thread Caleb Case
[EMAIL PROTECTED]:/tmp# ls -Z /etc/shadow system_u:object_r:shadow_t /etc/shadow [EMAIL PROTECTED]:/tmp# cp --preserve=all /etc/shadow . [EMAIL PROTECTED]:/tmp# ls -Z shadow system_u:object_r:shadow_t shadow According to the man page for cp -a is the same as -dpR which turns out to mean: --no-der

[Bug 203433] Re: "cp" command doesn't preserve selinux context

2008-03-17 Thread tgelter
** Description changed: Binary package hint: coreutils Attempting to demonstrate the power of selinux I tried the following demo (works in RHEL): [EMAIL PROTECTED]:/var/www# ls -lZ /etc/shadow -rw-r-+ 1 root shadow system_u:object_r:shadow_t 1193 2008-03-17 17:55 /etc/shadow