Beahaviour of of access(...) and opendir(...)
Currently working under 2.12-4ubuntu5.1 I found out that a call to access(<dirname>,X_OK|R_OK)
can give me a positive answer while opendir(<dirname>)
still fails of blocked by AppArmer
- Is it a known issue ?
- What is the official way to check for piviliges under AppArmor ?
Thx