All of lore.kernel.org
 help / color / mirror / Atom feed
* Is it possible to assign different labels to symbolic links and actual files?
@ 2011-05-24 20:46 Sam Gandhi
  2011-05-24 21:07 ` Daniel J Walsh
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Sam Gandhi @ 2011-05-24 20:46 UTC (permalink / raw)
  To: selinux

Hello,

I am working on a embedded platform and we have busybox on this device.

What we would like to do do is assign diffrent labels to various
busybox links. What we have seen when running things on JFFS2 when I
label a symbolic link, the actual file gets the label, but the link
itself doesn't (according to ls -lZ output).  We have seen similar
behaviour with files on tmpfs as well.

ls -lZ
-rw-r--r--        1         0 Jan  1 00:12 system_u:object_r:myfile_t X
lrwxrwxrwx    1         1 Jan  1 00:13 user_u:object_r:tmpfs_t          Y -> X

Is there no way to assign different label to symlink and actual files?
Is this file-system specific issue? Are there any file-system that
support assigning seperate labels to symlink and actual file?

-Sam

--
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] 10+ messages in thread

end of thread, other threads:[~2011-05-25 12:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-24 20:46 Is it possible to assign different labels to symbolic links and actual files? Sam Gandhi
2011-05-24 21:07 ` Daniel J Walsh
2011-05-24 21:46   ` Sam Gandhi
2011-05-25 11:58     ` Daniel J Walsh
2011-05-25 12:15     ` Russell Coker
2011-05-25 12:41     ` Stephen Smalley
2011-05-24 21:15 ` Dominick Grift
2011-05-24 21:21 ` Guido Trentalancia
2011-05-24 22:53 ` Russell Coker
2011-05-25  2:27   ` Sam Gandhi

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.