Wireshark-dev: [Wireshark-dev] Problems with FAQ on Windows

From: "Peter Johansson" <peterjohansson73@xxxxxxxxx>
Date: Tue, 30 Dec 2008 15:44:15 +0100
I have not been able to compile Wireshark at all, not once since mid December. The problem seems to lie in the copying of the help\faq.txt file to FAQ. This copy operation (cp --preserve help\faq.txt FAQ) somehow sets different security permissions than that of the help\faq.txt file.
 
The file faq.txt located in the directory help has the file attributes "A" (archive bit) and the approproate security permissions set for Administrators, Power Users, System and Users.
However once "cp --preserve help\faq.txt FAQ" has executed, the FAQ file has the file attributes "AR" (read only) and the security permissions are set for Everyone (with special permissions), my user account (with special permissions) and Users (with special permissions). These special permissions do actively deny read access to the FAQ file.
 
This then generates a problem with the build process since once the file has been copied to the Wireshark root directory as FAQ, the build process continues with trying to copy it to the wireshark-gtk2 directory using xcopy. Since the FAQ file does not have any read permission, this fails and the build process stops. When I try to compile again from state then instead the "cp --preserve..." command fails since it is not allowed to copy over the FAQ file.
 
 
Is there anyone that has had a similar problem and might be able to provide a solution to this?
 
 
Happy new year!
 
Best regards, Peter