Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve stable branch setup/docs #287

Open
juliushaertl opened this issue Jan 2, 2024 · 1 comment
Open

Improve stable branch setup/docs #287

juliushaertl opened this issue Jan 2, 2024 · 1 comment

Comments

@juliushaertl
Copy link
Owner

I got reports that creating a new stable branch is not working well and leaving folders in root permissions causing troubles:

  • Update failed cannot open /home/julia/docker-nc/server/apps-extra/activity/.git/worktrees/activity/FETCH_HEAD: Permission denied
  • Cannot check the working tree for unmerged files because of an error. detected dubious ownership in repository at '/home/julia/docker-nc/stable28/apps/viewer' To add an exception for this directory, call: git config --global --add safe.directory /home/julia/docker-nc/stable28/apps/viewer
  • z.B. update_ref failed for ref 'HEAD': cannot update the ref 'refs/heads/stable28': unable to append to '/home/julia/docker-nc/server/apps-extra/text/.git/logs/refs/heads/stable28': Permission denied

Further consider:

@ShGKme
Copy link

ShGKme commented Jan 2, 2024

apps-extra folder is created in the container bootstrap script inside a container, so it has the container's root user as an owner.

mkdir -p "$WEBROOT/apps-extra"
mkdir -p "$WEBROOT/apps-shared"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants