You don't have permission to create or write to the file
Every time I want to print a packet it gives me this error message. So does anyone have a solution to this problem?
I tried to run the program as administrator and it worked
I.e., the error message mostly tells you what the problem is, although it doesn't distinguish between permission to overwrite an existing file and permission to create a new file in a given directory.
The solution is "try writing to a directory to which you have permission" or, if you are supposed to be allowed to write to that directory, "fix the ACL on the directory so you do have permission to write to it". Running as Administrator means that it'll let you do things that you may not want to do, and may let Wireshark do things that you didn't tell it to do; to quote the old README.packaging
file in the Wireshark source (until 3.0):
WIRESHARK CONTAINS OVER TWO MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT.
where "AS ROOT" really means "AS ANY ACCOUNT WITH ELEVATED PRIVILEGES", including Administrator.
Asked: 2019-03-01 10:25:25 +0000
Seen: 5,653 times
Last updated: Mar 01 '19
"Print" as in "send to a printer to be put on paper" or "print" as in "save formatted output to a text file"?
print an in "save the formatted output to a text file"