Skip to content

Files in some directories end up owned by root, causing test failures #24

@MichaelClerx

Description

@MichaelClerx

On fedora, using docker from the terminal.

Following first instruction here: https://github.com/Chaste/chaste-docker?tab=readme-ov-file#recommended-using-a-pre-built-image

docker run --init -it --rm -v chaste_data:/home/chaste chaste/release

It sets things up alright, but some of the files in the volume it creates are owned by root, causing test failures

chaste@172860a06b68:~$ ls -all
total 28
drwxr-x--- 1 chaste chaste  182 Jan  8 17:09 .
drwxr-xr-x 1 root   root     12 Dec 15 00:36 ..
-rw-r--r-- 1 chaste chaste  220 Jan  6  2022 .bash_logout
-rw-r--r-- 1 chaste chaste 3771 Jan  6  2022 .bashrc
drwxr-xr-x 1 chaste chaste    6 Jan  8 17:09 .cache
-rw-r--r-- 1 chaste chaste   67 Dec 15 04:49 .gitconfig
drwxr-xr-x 1 chaste chaste   12 Jan  8 17:09 .local
-rw-r--r-- 1 chaste chaste  807 Jan  6  2022 .profile
drwxr-xr-x 1 chaste chaste  554 Jan  8 17:09 build
lrwxrwxrwx 1 chaste chaste   18 Dec 15 00:37 lib -> /home/chaste/build
drwxr-xr-x 1 chaste chaste   76 Jan  8 17:09 output
lrwxrwxrwx 1 chaste chaste   25 Dec 15 00:37 projects -> /home/chaste/src/projects
drwxr-xr-x 1 chaste chaste  170 Jan  8 17:09 scripts
drwxr-xr-x 1 chaste chaste  774 Jan  8 17:09 src
lrwxrwxrwx 1 chaste chaste   19 Dec 15 00:37 testoutput -> /home/chaste/output
chaste@172860a06b68:~$ ls src -all
total 248
drwxr-xr-x 1 chaste chaste    774 Jan  8 17:09 .
drwxr-x--- 1 chaste chaste    182 Jan  8 17:09 ..
-rw-r--r-- 1 root   root     2648 Nov 23  2023 .clang-format
-rw-r--r-- 1 root   root     4472 Nov 23  2023 .clang-tidy
-rw-r--r-- 1 root   root     1983 Nov 23  2023 .codecov.yml
drwxr-xr-x 1 root   root       52 Jan  8 17:09 .devcontainer
drwxr-xr-x 1 root   root      190 Jan  8 17:09 .git
drwxr-xr-x 1 root   root       46 Jan  8 17:09 .github
-rw-r--r-- 1 root   root     1089 Feb 21  2024 .gitignore
-rw-r--r-- 1 root   root        0 Nov 23  2023 .gitmodules
-rw-r--r-- 1 root   root     2355 Oct 16 16:09 CITATION.cff
-rw-r--r-- 1 root   root     3660 Sep  7 09:54 CITATION.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions