Skip to content

[Bug]: DIRACOS2 2.58+ requires $HOME #174

@chrisburr

Description

@chrisburr

Search before creating an issue

  • I have searched existing issues and confirmed this is not a duplicate

Bug Description

Since DIRACOS2 2.58 the installation procedure has been:

  • creating an empty $HOME/.conda directory
  • failing if $HOME is not writable

Steps to Reproduce

$ cd $(mktemp -d)
$ export HOME=$PWD/home/
$ mkdir $PWD/home/
$ chmod -R 500 $PWD/home/
$ curl -LO https://github.com/DIRACGrid/DIRACOS2/releases/download/2.57/DIRACOS-Linux-x86_64.sh && rm -rf diracos/ && bash DIRACOS-Linux-x86_64.sh; echo $?
...
installation finished.
0
$ curl -LO https://github.com/DIRACGrid/DIRACOS2/releases/download/2.58/DIRACOS-Linux-x86_64.sh && rm -rf diracos/ && bash DIRACOS-Linux-x86_64.sh; echo $?
...
mkdir: cannot create directory ‘/tmp/cburr/tmp.Pjjs8qakIX/home//.conda’: Permission denied
1

Expected Behavior

No response

Actual Behavior

No response

Environment

No response

Relevant Log Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions