From: Maria Iano <maria@iano.org>
To: selinux@tycho.nsa.gov
Subject: correct way to set context in perl?
Date: Thu, 18 May 2006 16:06:56 -0400 [thread overview]
Message-ID: <20060518160656.V26098@iano.org> (raw)
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.
next reply other threads:[~2006-05-18 20:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 20:06 Maria Iano [this message]
2006-05-18 20:47 ` correct way to set context in perl? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060518160656.V26098@iano.org \
--to=maria@iano.org \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.