4
votes
1answer
315 views

Patch without changing owner and group

I've got a file owned by a non-root user: # ls -l example.php -rw------- 1 foo bar ... example.php I just applied a patch with a command like patch -p0 <<-EOF --- .../example.php.orig ...