Commits on Source (40)
-
i got tired of stabbing my eyes with inline JSON output so I wrote a very very simple command that just parses STDIN as a --backend output command. this can be useful for debugging when calling backend commands without thinking of removing --backend, or in my case, to pass data through STDIN as JSON, but still have a proper output.
d6477f6b -
the rationale here is that we're not running as root, and therefore chown is likely to fail, unless the file already has the right owner, in which case a chown is not necessary. To quote chown(2): Only a privileged process (Linux: one with the CAP_CHOWN capability) may change the owner of a file. The owner of a file may change the group of the file to any group of which that owner is a member. A privileged process (Linux: with CAP_CHOWN) may change the group arbitrarily. So this was just a cause of trouble without any possible benefit unless we run with capabilities, and we shouldn't assume this (right now?).
98fb236f -
isset. Send it only if no-delete is not set. This still leaves delete = TRUE as the default, unless no-delete has been set to TRUE. This solves critical bug #976300. I can't imagine a case where someone would want to set no-delete = FALSE if --delete is the default at all other times, but I added a condition to account for this too.
ad0ca56a -
be55f0ea
parse.backend.inc
0 → 100644
platform/backup_delete.provision.inc
0 → 100644
provision.info
0 → 100644