simple-framework / simple_grid_puppet_module

Central Configuration Module, implemented in Puppet, for SIMPLE-Grid (a solution for setting up Lightweight Sites for the Worldwide LHC Computing Grid)
Apache License 2.0
2 stars 6 forks source link

After su - Bolt task keeps using $HOME from the regular user #94

Open esilvaju opened 5 years ago

esilvaju commented 5 years ago

If the site admin do a ssh with any user and perform asudo su - instead of ssh as root, all bolt task called from Exec statements stills keep using the user $HOME causing the error:

Error: Failed to save result to /afs/cern.ch/user/e//.puppetlabs/bolt/.rerun.json: Permission denied @ dir_s_mkdir - /afs/cern.ch/user/e//.puppetlabs/bolt

Needs more investigation.

esilvaju commented 5 years ago

Error: Failed to save result to /afs/cern.ch/user/e//.puppetlabs/bolt/.rerun.json: Permission denied @ dir_s_mkdir - /afs/cern.ch/user/e//.puppetlabs/bolt