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

unlink will fail on Solaris unless backup is run as root #123

Open
janorn opened this issue Mar 31, 2015 · 2 comments
Open

unlink will fail on Solaris unless backup is run as root #123

janorn opened this issue Mar 31, 2015 · 2 comments

Comments

@janorn
Copy link

@janorn janorn commented Mar 31, 2015

unlink is located in /usr/sbin on Solaris. Due to this unlink of in-progress will fail unless run as root.

Cron on Solaris does not allow PATH configuration. You can do it for all users in /etc/default/cron but that will affect all cron entries.

Default Cron path is /usr/bin for normal users and /usr/sbin:/usr/bin for root.

I would suggest to have a check if unlink is in /usr/bin or /usr/sbin and use this instead of a PATH dependency.

@janorn
Copy link
Author

@janorn janorn commented Mar 17, 2017

Solved by #294

@lildude
Copy link
Member

@lildude lildude commented Mar 17, 2017

As I've just commented in #185 (comment), if all you need to do is add /usr/sbin to the PATH in ghe-backup-config you can do so by adding PATH=/usr/sbin:$PATH to the end of your backup.config file within your backup-utils directory.

juruen pushed a commit that referenced this issue Mar 2, 2018
Update from public repo
@github github deleted a comment Aug 5, 2019
@github github deleted a comment Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.