On Wed, 27 Jul 2011 16:13:11 +0200
Lennart Poettering <mzerqung(a)0pointer.de> wrote:
On Wed, 27.07.11 16:05, Miloslav Trmač (mitr(a)volny.cz) wrote:
>
> On Wed, Jul 27, 2011 at 4:01 PM, Lennart Poettering
> <mzerqung(a)0pointer.de> wrote:
> > I think the right approach here is to prep a patch for the spec
> > and make the dir official given that a) it probably makes sense
> > to have a standardized dir like this,
>
> I can't really see who is the expected user of ~/.local/bin . From
> my POV the whole point of ~/.local is to store data that is hidden
> from users - it is "application" data, not "user data".
>
> Programs within the home directory were, presumably, explicitly
> installed and created by the user, so they are "user data" - and
> should be visible.
It's too late. XDG basedir is an established spec, since years
ago. There's no point in discussing this anymore.
Also, not only XDG basedir established these dirs, Python did too:
http://www.python.org/dev/peps/pep-0370/
I'd be delighted if somebody would prep a patch for the XDG basedir
spec to get it more in line with PEP 370.
So, now we know:
a) there's at least one app already implementing ~/.local/bin
b) there's at least one OS already implementing ~/.local/bin
c) there's a spec about ~/.local/bin already accepted by a friendly
project
This is STILL a security risk, even if somebody calls it a standard.
d) there is point in having a standardized dir for this
hence: let's just change the xdg basedir spec to standardize it.
Lennart
--
Bernd Stramm
bernd.stramm(a)gmail.com