preferences file

songbird songbird at anthive.com
Mon Jan 28 13:03:50 EST 2019


Karsten Hilbert wrote:
> On Mon, Jan 28, 2019 at 10:23:31AM -0500, songbird wrote:
>> Karsten Hilbert wrote:
>> > On Mon, Jan 28, 2019 at 07:02:47AM -0500, songbird wrote:
>> >
>> >> > What about running a multi-tenant application (for multiple users who 
>> >> > are not also system-users) - cf them logging-on to run their own. It is 
>> >> > appropriate, possibly even "required" to keep Fred's config file, 
>> >> > reports, graphs, logs, etc; separate from Barney's. Ideally they will 
>> >> > not be sub-dirs of the application/package.
>> >> 
>> >>   if it is per user defined then $HOME/.config/<app-name>, 
>> >> $HOME/.local/share/<app-name> and any temporary data can go 
>> >> in $HOME/.cache/<app-name> will do it for posix on Windows 
>> >> there is the per user app stuff which i haven't sorted out
>> >> yet.
>> >> 
>> >>   $HOME changes per user login name change.
>> >
>> > 	$HOME/.config/<app-name>/<app-user>/
>> > 	$HOME/.cache/<app-name>/<app-user>/
>> 
>>   that makes no sense as you already have unique
>> user name covered by $HOME so why repeat again?
>
> Because you seemed to imply that the login user is different
> from the app user:
>
> 	"the per user app stuff")
>
> Apparently you meant something else ?

  sorry for being unclear.

  each user is taken care of by $HOME and for me there
is no other complication.


  songbird



More information about the Python-list mailing list