ensure_shared_data_dir_sync


Description:

public string ensure_shared_data_dir_sync (string username) throws Error

Ensure that a shared data dir for the given user is available.

Both the greeter user and username will have write access to that folder. The intention is that larger pieces of shared data would be stored there (files that the greeter creates but wants to give to a user -- like camera photos -- or files that the user creates but wants the greeter to see -- like contact avatars).

LightDM will automatically create these if the user actually logs in, so greeters only need to call this method if they want to store something in the directory themselves.

Parameters:

this

A Greeter

username

A username

Returns:

The path to the shared directory, free with g_free.