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

change working directory #2509

Closed
wants to merge 2 commits into from
Closed

Conversation

antondollmaier
Copy link

fixes #2508

When running as cron, pg_dump might complain about permissions in the current working directory.

changing directory to the BACKUP_SCRIPT_PATH solves this.

When running as cron, pg_dump might complain about permissions in the current working directory.

changing directory to the BACKUP_SCRIPT_PATH solves this.
@MrGeneration
Copy link
Member

Thanks for your contribution!

As already mentioned in #2508 I personally don't see this as a real problem, as you should rather work with the crontab of the Zammad-User instead of root.

I will therefor not merge this pull request, as I don't see the benefit (no offense!).

@monotek monotek self-assigned this Mar 7, 2019
@monotek monotek reopened this Mar 7, 2019
@thorsteneckel
Copy link
Contributor

@monotek I just saw that you reopened this PR. So you think we should merge it? What do we need to do next?

@monotek
Copy link
Member

monotek commented Mar 13, 2019

#2508 (comment)

@martini
Copy link
Collaborator

martini commented Aug 7, 2019

closed by accident - re-open

@martini martini reopened this Aug 7, 2019
Optimized when we run the change dir, because we only need it if everything is good to go.

I'll now add a remark internally so that I won't to it a fourth time.
@MrGeneration
Copy link
Member

@thorsteneckel this is ready for merging. :-)

@MrGeneration
Copy link
Member

We currently can't merge PRs from Github, this is why I'm closing this PR for the sake of our internal MR no. 866

Thank you very much for your contribution!

@antondollmaier antondollmaier deleted the patch-1 branch October 30, 2019 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backup permission issue: Could not change directory
5 participants