This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

unix2dos: wireshark-gtk2/COPYING.txt: Permission denied

1
1

I ran through the development guide to setup up a wireshark development environment on my windows 7 computer.

I have the wireshark 1.12.6 code on my computer in c:\development\wireshark

verify_tools and setup complete fine.

When running make all I get the following error:

bash -o igncr tools/textify.sh "./COPYING" wireshark-gtk2
unix2dos: wireshark-gtk2/COPYING.txt: Permission denied
unix2dos: converting file wireshark-gtk2/COPYING.txt to DOS format...
unix2dos: problems converting file wireshark-gtk2/COPYING.txt
NMAKE : fatal error U1077: 'C:\cygwin64\bin\bash.EXE' : return code '0xd'
Stop.

asked 02 Jul '15, 10:41

bigbadbyte's gravatar image

bigbadbyte
21124
accept rate: 0%

edited 02 Jul '15, 12:14

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196

1

What is your cygwin version (uname -a in a cygwin bash shell)? I've just run into this after a cygwin update

(02 Jul '15, 11:00) grahamb ♦

CYGWIN_NT-6.1-WOW BIGBADBYTE 2.0.4(0.287/5/3) 2015-06-09 12:20 i686 Cygwin

(02 Jul '15, 11:04) bigbadbyte
1

What happens if you remove the COPYING.txt file from the wireshark-gtk2 directory and try to build it again?

(02 Jul '15, 15:02) Guy Harris ♦♦

One Answer:

3

Are you sure the command prompt has an admin access?

answered 02 Jul '15, 13:10

broccollirob's gravatar image

broccollirob
754411
accept rate: 0%

Dang it. That was it.

I had it building previously and then went back and tried to do it again and I forgot to run the command prompt from admin. Thanks.

(06 Jul '15, 08:47) bigbadbyte

Interesting, I've never (intentionally that is) run my command prompts with elevated permissions. Was that intentional originally?

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(06 Jul '15, 09:25) grahamb ♦