Lines Matching refs:TMP_CHAPS_DIR
13 TMP_CHAPS_DIR = '/tmp/chaps' variable
143 (TMP_CHAPS_DIR, auth_data))
152 '--new_auth="%s"' % (TMP_CHAPS_DIR, auth_data, new_auth_data))
156 utils.system('sudo chaps_client --unload --path=%s' % TMP_CHAPS_DIR)
177 os.makedirs(TMP_CHAPS_DIR)
180 os.chown(TMP_CHAPS_DIR, uid, gid)
181 os.chmod(TMP_CHAPS_DIR, CHAPS_DIR_PERM)
184 copytree_with_ownership(TMP_CHAPS_DIR, '%s_bak' % TMP_CHAPS_DIR)
188 shutil.rmtree(TMP_CHAPS_DIR)
189 copytree_with_ownership('%s_bak' % TMP_CHAPS_DIR, TMP_CHAPS_DIR)
193 return '%s/database' % TMP_CHAPS_DIR
214 shutil.rmtree(TMP_CHAPS_DIR, ignore_errors=True)
215 shutil.rmtree('%s_bak' % TMP_CHAPS_DIR, ignore_errors=True)