All of lore.kernel.org
 help / color / mirror / Atom feed
* chcon v. setfilecon
@ 2005-08-04 21:38 rich turner
  2005-08-05 18:31 ` Daniel J Walsh
  2005-08-08 12:44 ` Stephen Smalley
  0 siblings, 2 replies; 3+ messages in thread
From: rich turner @ 2005-08-04 21:38 UTC (permalink / raw)
  To: selinux

what is the difference between these commands? it seems they both do the
same thing.

is setfilecon deprecated and replaced with chcon?

on my fedora core3 system i have the setfilecon command but not the
chcon command. on fc4 i have the chcon command.


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

* Re: chcon v. setfilecon
  2005-08-04 21:38 chcon v. setfilecon rich turner
@ 2005-08-05 18:31 ` Daniel J Walsh
  2005-08-08 12:44 ` Stephen Smalley
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel J Walsh @ 2005-08-05 18:31 UTC (permalink / raw)
  To: rich turner; +Cc: selinux

rich turner wrote:

>what is the difference between these commands? it seems they both do the
>same thing.
>
>is setfilecon deprecated and replaced with chcon?
>
>on my fedora core3 system i have the setfilecon command but not the
>chcon command. on fc4 i have the chcon command.
>  
>
setfilecon is a test application that we (Red Hat) no longer ships.  
chcon is the proper tool to use.  It exists on FC3,
chcon should be part of coreutils.

>
>--
>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.
>  
>


-- 



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

* Re: chcon v. setfilecon
  2005-08-04 21:38 chcon v. setfilecon rich turner
  2005-08-05 18:31 ` Daniel J Walsh
@ 2005-08-08 12:44 ` Stephen Smalley
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Smalley @ 2005-08-08 12:44 UTC (permalink / raw)
  To: rich turner; +Cc: selinux

On Thu, 2005-08-04 at 14:38 -0700, rich turner wrote:
> what is the difference between these commands? it seems they both do the
> same thing.
> 
> is setfilecon deprecated and replaced with chcon?
> 
> on my fedora core3 system i have the setfilecon command but not the
> chcon command. on fc4 i have the chcon command.

setfilecon was a trivial example utility provided with libselinux to
demonstrate usage of its setfilecon() function.  chcon is a "real"
utility patterned after chown/chmod with a richer interface and set of
functionality.  chcon is included in coreutils.  I don't know why you
wouldn't have it in FC3; it should be there.  Red Hat stopped installing
setfilecon from libselinux as it served no purpose for end users.

-- 
Stephen Smalley
National Security Agency


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

end of thread, other threads:[~2005-08-08 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-04 21:38 chcon v. setfilecon rich turner
2005-08-05 18:31 ` Daniel J Walsh
2005-08-08 12:44 ` 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.