Package: fai-client Version: 4.0.4 Severity: normal
fcopy does not change the owner, group and mode of a destination file if it already exists and has the same mtime and mode as the source file when using -M. I tries to do fcopy -Mv /etc/apt/sources.list, but since this file was already installed from the configuration space but using another user and group, fcopy did not changed the owner and group to root as -M should do. IMO the bug is in subroutine set_mode. Here's the buggy code # compare time,uid,gid and mode of source file and target file # if different: change the values return if ($stime == $dtime && (($ddefmodes[0] == $defmodes[0]) && ($ddefmodes[1] == $defmodes[1]) && ($ddefmodes[2] == $defmodes[2]))); . . if ($modeset) { # use -m values ($owner,$group,$mode) = @opt_modes; Looking for a fix now. -- regards Thomas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org