All of lore.kernel.org
 help / color / mirror / Atom feed
* correct way to set context in perl?
@ 2006-05-18 20:06 Maria Iano
  2006-05-18 20:47 ` Erich Schubert
  0 siblings, 1 reply; 11+ messages in thread
From: Maria Iano @ 2006-05-18 20:06 UTC (permalink / raw)
  To: selinux

What is a good way to set the security context for a new file created within a perl script? I have a perl script that creates new directories and zone files for my name server, and some are master and some slave. So when the script creates them it needs to set some to be of type named_zone_t and some to be of type named_cache_t. Should I just use the system call to chcon?

Thanks for any help.

Maria 

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

end of thread, other threads:[~2006-05-22 15:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 20:06 correct way to set context in perl? Maria Iano
2006-05-18 20:47 ` Erich Schubert
2006-05-18 21:12   ` Maria Iano
2006-05-18 22:47     ` Erich Schubert
2006-05-19 13:57     ` Russell Coker
2006-05-19 14:31       ` Maria Iano
2006-05-19 15:33         ` Maria Iano
2006-05-19 15:44           ` Stephen Smalley
2006-05-19 17:04             ` Maria Iano
2006-05-20 12:13         ` Russell Coker
2006-05-22 14:46           ` Maria Iano

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.