On 27/02/2017 18:12, Daniel Henrique Barboza wrote:
>>> +BASE_DIRECTORY = '/run'
>> Suggestion to use:
>> os.path.join('/run/user', str(os.getuid()))
>> in order tests may be run with root.
I would prefer to choose a path that can be written by anyone else to
allow the push_server
to be started without root.
Sorry, I meant *without* root.
/run/user/<UID> allows for that, it's writable by the user that started
wokd, be it root or not.
--
Lucio Correia