Skip to content

ckb_032630d041b4fd8a_b0ac08fe1d3c2615

Grigori Fursin edited this page Sep 11, 2016 · 6 revisions

[ Home ]

Module program

Notes:

  • It is possible to use sudo by adding --sudo to command line, i.e.

ck run program --sudo

However, files, generated by a program, may have root ownership and may not be processed/deleted by CK. Hence, it is possible to set CK_SUDO_POST that will change ownership back to user. One may set up this variable in .profile (or other OS specific file) as following:

export CK_SUDO_POST="sudo chown -R $USER:[group] *"

where [group] should be user group. It may also be $USER on UBUNTU, i.e.:

export CK_SUDO_POST="sudo chown -R $USER:$USER *"

Clone this wiki locally