Daniel J Walsh wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Murray McAllister wrote:
Hi,
The following are the first few drafts of the "Maintaining SELinux
Labels" sections. Any comments and corrections are appreciated.
Cheers.
Copying Files and Directories
When files and directories are copied, they inherit the SELinux context
of the parent directory they are copied to. This helps ensure files and
directories are labeled with the correct SELinux context after being
moved. The following example demonstrates copying a file from a user's
home directory to /var/www/html/, which is used by the Apache HTTP
Server. Since the file is copied, it inherits the correct SELinux context:
Is this true when using MLS policy? Assuming the policy allows a subject
to create a file in a directory, shouldn't the newly created file's
SELinux context have the same sensitivity as the subject who wrote it?
Or is the new file's type copied from the directory and the sensitivity
copied from the subject?
--Glenn
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.