Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=204093 Stepan Kasal <skasal@xxxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED CC| |skasal@xxxxxxxxxx Resolution| |NOTABUG --- Comment #4 from Stepan Kasal <skasal@xxxxxxxxxx> 2008-11-28 08:35:07 EDT --- With -i.bkp perl first moves the file to *.bkp and then creates a new file with the same name as the original file. When option -i is given without any argument, the original file is deleted. But again a new file is created against the original one. The above is documented in "man perlrun". The fact that owner and acl flags are not preserved is a logical consequence of theis implementation. This is also consistent with the implementation of "sed -i". To get the results you need, there are several ways: - backup the acls of the files and restore them after the "perl -i" run, - copy the file before the running perl (without the -i), or - run perl (w/out -i) first and then copy the result to the original file To sum up, the described behavior is not a bug and is probably not going to change. I'm sorry that you had to wait years for this obvious answer. -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list