All of lore.kernel.org
 help / color / mirror / Atom feed
* Symlinks with wrong context after copy
@ 2003-10-17 13:32 Thorsten Kukuk
  2003-10-17 14:09 ` Stephen Smalley
  0 siblings, 1 reply; 4+ messages in thread
From: Thorsten Kukuk @ 2003-10-17 13:32 UTC (permalink / raw)
  To: selinux


Hi,

I don't know if this is a libattr or a selinux bug:

Symlinks have wrong attributes after copying:

dilbert:~ # ls --context /lib/ld-*
-rwxr-xr-x  root     root     system_u:object_r:ld_so_t        /lib/ld-2.3.2.so
lrwxrwxrwx  root     root     system_u:object_r:ld_so_t        /lib/ld-linux.so.2 -> ld-2.3.2.so

dilbert:~ # cp -dp /lib/ld-* .
dilbert:~ # ls --context ld-*
-rwxr-xr-x  root     root     system_u:object_r:ld_so_t        ld-2.3.2.so
lrwxrwxrwx  root     root     system_u:object_r:sysadm_home_dir_t ld-linux.so.2 -> ld-2.3.2.so

any ideas what goes wrong?

  Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Deutschherrnstr. 15-19        D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-17 15:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-17 13:32 Symlinks with wrong context after copy Thorsten Kukuk
2003-10-17 14:09 ` Stephen Smalley
2003-10-17 14:17   ` Thorsten Kukuk
2003-10-17 15:05     ` Stephen Smalley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.