symlink support
Bug #1485055 reported by
Patrick Schleizer
on 2015-08-14
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | AppArmor |
Undecided
|
Unassigned | ||
Bug Description
Could you please add an option to AppArmor to follow symlinks?
That would allow a cleaner solution than the workarounds that have been added by other projects. Such as:
- https:/
- https:/
- https:/
- https:/
| Christian Boltz (cboltz) wrote : | #2 |
You can use alias rules for directory symlinks - add them to /etc/apparmor.
For example, my /tmp/ is a symlink to /home/sys-tmp/, and the alias rule for it is
alias /tmp/ -> /home/sys-tmp/,
Another possible solution is using mount --bind instead of symlinks.
| Patrick Schleizer (adrelanos) wrote : | #3 |
Alright. Thank you, Christian! This is a much better solution to our issue.
To post a comment you must log in.


This is not a design choice that can be revisited; this is a consequence of the kernel internal implementation. Sorry.