Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
unlink will fail on Solaris unless backup is run as root #123
Comments
Solved by #294 |
As I've just commented in #185 (comment), if all you need to do is add |
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.