Re: [apparmor] [RFC] handling XDG user directories

2013-08-12 Thread Jamie Strandboge
On 08/10/2013 03:46 PM, Christian Boltz wrote: * apparmor-xdg-dirs.py: this takes the output of 'locale -a' and I'm afraid this will result in a bit too much ;-) On my system, locale -a gives me 270 locales from aa_DJ to zu_ZA (and I even dropped suffixes like @euro or .utf-8 - with

Re: [apparmor] [RFC] handling XDG user directories

2013-08-12 Thread Jamie Strandboge
On 08/12/2013 02:52 PM, Christian Boltz wrote: Hello, Am Montag, 12. August 2013 schrieb Jamie Strandboge: On 08/10/2013 03:46 PM, Christian Boltz wrote: * apparmor-xdg-dirs.py: this takes the output of 'locale -a' and I'm afraid this will result in a bit too much ;-) On my system,

Re: [apparmor] [RFC] handling XDG user directories

2013-08-10 Thread Christian Boltz
Hello, your proposal looks very good. Nevertheless, let me add some notes (as usual ;-) Am Dienstag, 6. August 2013 schrieb John Johansen: On 08/05/2013 03:59 PM, Jamie Strandboge wrote: and users/admins can adjust /etc/apparmor.d/tunables/xdg-dirs or drop files into

Re: [apparmor] [RFC] handling XDG user directories

2013-08-06 Thread John Johansen
On 08/05/2013 03:59 PM, Jamie Strandboge wrote: = Background = The xdg-user-dirs specification[1] allows for translatable and movable common directories. While this may be beneficial for users who for example want to have ~/Pictures translated into their own language, this flexibility

[apparmor] [RFC] handling XDG user directories

2013-08-05 Thread Jamie Strandboge
= Background = The xdg-user-dirs specification[1] allows for translatable and movable common directories. While this may be beneficial for users who for example want to have ~/Pictures translated into their own language, this flexibility provides challenges for AppArmor. Untranslated xdg user

Re: [apparmor] [RFC] handling XDG user directories

2013-08-05 Thread Seth Arnold
On Mon, Aug 05, 2013 at 05:59:14PM -0500, Jamie Strandboge wrote: I have written two tools that we may want to optionally ship[3]: * apparmor-xdg-dirs-simple.py: this takes a locale as an argument and outputs to stdout something suitable for dropping into /etc/apparmor.d/xdg-dirs.d.

Re: [apparmor] [RFC] handling XDG user directories

2013-08-05 Thread Jamie Strandboge
On 08/05/2013 06:26 PM, Seth Arnold wrote: On Mon, Aug 05, 2013 at 05:59:14PM -0500, Jamie Strandboge wrote: I have written two tools that we may want to optionally ship[3]: * apparmor-xdg-dirs-simple.py: this takes a locale as an argument and outputs to stdout something suitable for