Discussion:
Windows 7 Permission Problem on Standard Input
Rick Gudmundson
2011-02-08 22:46:53 UTC
Permalink
I'm trying to setup remote packet capture over SSH from a Windows 7 64-bit
computer. I previously used this method on my old Win XP box. On this
Windows 7, it failed with the error in a pop-up on top of the Wireshark
application "The temporary file to which the capture would be saved ("")
could not be opened: Permission denied." I then tried the basic example from
http://wiki.wireshark.org/CaptureSetup/Pipes#Stdin of "cat capture.cap |
wireshark -k -i -" (which also works on the XP box) with the same result.

If I just launch Wireshark normally, I have no problem capturing packets on
my local interface. Interestingly, when I do get that error, if I try to run
a regular local capture it still produces the same blocking pop-up. I'd have
to close & re-launch Wireshark to capture again.

I'm still getting used to Wireshark on Windows 7, so I'm wondering if
there's someone who can help point me in the right direction to unlock the
right permission. Thanks.
--
Rick
M K
2011-02-11 15:55:16 UTC
Permalink
It is my understanding that in Windows 7 everything along the path:
C:\Documents and Settings\Administrator\Local Settings\Temp (in this
case) is not accessible to users. I doubt if this will help but you
could possibly try the attrib command.
Post by Rick Gudmundson
I'm trying to setup remote packet capture over SSH from a Windows 7 64-bit
computer. I previously used this method on my old Win XP box. On this
Windows 7, it failed with the error in a pop-up on top of the Wireshark
application "The temporary file to which the capture would be saved ("")
could not be opened: Permission denied." I then tried the basic example from
http://wiki.wireshark.org/CaptureSetup/Pipes#Stdin of "cat capture.cap |
wireshark -k -i -" (which also works on the XP box) with the same result.
If I just launch Wireshark normally, I have no problem capturing packets on
my local interface. Interestingly, when I do get that error, if I try to run
a regular local capture it still produces the same blocking pop-up. I'd have
to close & re-launch Wireshark to capture again.
I'm still getting used to Wireshark on Windows 7, so I'm wondering if
there's someone who can help point me in the right direction to unlock the
right permission. Thanks.
--
Rick
___________________________________________________________________________
Sent via: Wireshark-users mailing list <wireshark-users-IZ8446WsY0/***@public.gmane.org>
Archives: http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
mailto:wireshark-users-request-IZ8446WsY0/***@public.gmane.org?subject=unsubscribe
Continue reading on narkive:
Loading...