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

only chown directories during docker setup if necessary. Fix #4425 #5062

Closed
wants to merge 1 commit into from
Closed

only chown directories during docker setup if necessary. Fix #4425 #5062

wants to merge 1 commit into from

Conversation

fabian-braun
Copy link
Contributor

This PR fixes issue #4425 .
Instead of blindly running chown during setup, we check that the directory is not already owned by the correct user. Currently the check is non-recursive for speed (only checks the ownership of top-level directory).

Copy link
Member

@techknowlogick techknowlogick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please only open PRs against master

@bkcsoft bkcsoft added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 10, 2018
@fabian-braun
Copy link
Contributor Author

@techknowlogick Ok, filed separate pull request against master: #5064

@techknowlogick
Copy link
Member

@fabian-braun thank you. I know the chown thing has been an issue for some users and so your work is appreciated.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants