HomedirManager#

class nublado.startup.services.homedir.HomedirManager(env, home, logger)#

Bases: object

Ensure homedir is working correctly.

Parameters:

Methods Summary

copy_files_to_user_homedir()

Copy files from read-only container into user home.

modify_interactive_settings()

Change those (on-disk) settings used for interactive Lab startup.

tidy_homedir()

Clean up stale cache.

Methods Documentation

copy_files_to_user_homedir()#

Copy files from read-only container into user home.

Raises:

OSError – Raised if something goes wrong during a file copy.

Return type:

None

modify_interactive_settings()#

Change those (on-disk) settings used for interactive Lab startup.

Raises:

OSError – Raised if some file manipulation fails. Caught in the preparer.

Return type:

None

tidy_homedir()#

Clean up stale cache.

Return type:

None