El 19/1/22 a las 22:53, Johannes Schauer Marin Rodrigues escribió:
Understood. Then let me scale back the patch a bit more. Now the attached patch
uses /etc/passwd from the outside system and thus uses plain chown calls.

Please take a look a the version I've just uploaded.

What I did was to simply replace the function calls back to chown and chmod, using this script to avoid making mistakes:

#!/bin/sh
sed -i 's@change_owner@chown@' $1
sed -i 's@change_mode@chmod@' $1

Then I removed the (resulting) chown and chmod functions not required anymore.

Reply via email to