I would like to know what the "owner" code in the profiles does, since I've read some different explanations for it. I'm confused about what it really does and when you should use it and not.
Thanks in advance for help!
Printable View
I would like to know what the "owner" code in the profiles does, since I've read some different explanations for it. I'm confused about what it really does and when you should use it and not.
Thanks in advance for help!
Is that what you want to know about?Quote:
Originally Posted by man 5 apparmor.d
I'm new to apparmor, and English isn't my native language, so I would prefer a simple explanation. Thanks in advance.
Do you understand Linux permissions ? Every file and process has an owner.
So in apparmor you can allow access to a file
/path_to/file rw,
And furter restrict access in apparmor to the owner of the file
owner /path_to/file rw
With the second only the owner of the file can rw the file.
Typically this option is applied to files in your home directory.
Thank you, bodhi.zazen! Now I understand it much better! :)