with selinux is it possible to say make a file or directory unable to be viewed, deleted or moved, or even altered, the ONLY operation allowed is appending....is this possible to implement with selinux?
i am a bit unsure oh what MAC and such is, is there a guide somewhere that clearly explains it?
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 5 lines · Metrix
with selinux is it possible to say make a file or directory unable to be viewed, deleted or moved, or even altered, the ONLY operation allowed is appending....is this possible to implement with selinux?
If you read macros.te in the policy directory you'll see all the operations that are controllabl.
In the rw_file_perms macro you can see that there's an "append" item to control appending to a file separately to writing.
The ra_dir_perms macro seems to do what you want for directories.
Signature · 9 lines
If you send email to me or to a mailing list that I use which has >4 lines of legalistic junk at the end then you are specifically authorizing me to do whatever I wish with the message and all other messages from your domain, by posting the message you agree that your long legalistic sig is void. -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Re: your mail
In reply to MetrixQuoted 5 lines · Metrix
with selinux is it possible to say make a file or directory unable to be viewed, deleted or moved, or even altered, the ONLY operation allowed is appending....is this possible to implement with selinux?
You can certainly define a type, only grant append permission to it in the policy configuration, and label a file with it.
Quoted 2 lines
i am a bit unsure oh what MAC and such is, is there a guide somewhere that clearly explains it?
I'd suggest reading the papers available from
http://www.nsa.gov/selinux/docs.html.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.