fcopy

Janning Vygen vygen at planwerk6.de
Wed Dec 6 10:59:28 CET 2006


Am Dienstag, 5. Dezember 2006 21:04 schrieb Michael Tautschnig:
> > >>>>> On Tue, 5 Dec 2006 15:46:35 +0100, Janning Vygen
> > >>>>> <vygen at planwerk6.de> said:
> > >>>>>
> >     > If i fcopy a file which is alread there with same content, but the
> >     > file in SOURCE has other file access permissions, why it is not
> >     > copied?
> >
> > I should be copied, but the permissions should be changed.
> > Which fcopy are you using?
> > Maybe try fcopy -vD to get debuggin and verbose output.
> >
> >     > Why does fcopy compares files only literally?
> >
> > Maybe a small bug. But first try -D for debugging output.
> >
> > If you join the IRC channel #fai on oftc.net and paste your output to
> > paste.debian.net we may help you very quickly.
>
> Did you solve this issue already? Otherwise this is probably just what
> #360184 is about:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=360184

Yes, it seams to be the same bug. And it's still there in the newest version. 
IMHO this is a bug to worry about if you use softupdate, which can result in 
a security hole: 

i chmod a script executable in /etc/network/if-pre-up.d/ which contains 
iptables statements. Tthe executable flag was NOT copied and so my firewall 
is not in the state it should be. chmod a script can be an easy way to 
enable/disable a part of a firewall. 

This bug might be only a problem with softupdate of course.

I am debugging fcopy at the moment and will send my patch today.

kind regards,
janning

-- 
PLANWERK 6 websolutions
Venloer Straße 8, 40477 Düsseldorf
Tel: (0211) 302666-0
Fax: (0211) 302666-10 
http://www.planwerk6.de/



More information about the linux-fai mailing list