OpenSourceBrain/OSBv2

Workspace files have wrong user/group permissions on v2dev

Closed this issue · 3 comments

Mounted as root/root, not joyvan/users, so no write access:

Screenshot 2024-03-20 at 14 53 08

The github copy workflow is failing but no error message.
Here the logs:

W
Download path is /project_download/2014816/main
GitHub copy  to /project_download/2014816/main
total 8
drwxr-xr-x    2 root     root          4096 Mar 26 09:19 .
drwxr-xr-x    3 root     root          4096 Mar 26 09:19 ..
Git: fix permissions
Git: cloning new repository branch: main
Cloning into '/project_download/2014816/main'...
Git: setting user/email to OSBv2 for new repo
Git: checking out everything
Your branch is up to date with 'origin/main'.
Git: checking out new branch and committing
Switched to a new branch '20240326091912-osbv2'
On branch 20240326091912-osbv2
nothing to commit, working tree clean

This log line is not shown --

echo "Git: unsetting user/email for repo"

Fixed: the issue was related to git commit returning 0 code and then exiting with nothing to commit

Fixed