Ask Your Question

Lua: Error During execution of dialog callback: mpeg_packets_dump.lua:44: zx: Permission denied

asked 2019-04-30 15:13:45 +0000

marta gravatar image

Lua: Error During execution of dialog callback: mpeg_packets_dump.lua:44: zx: Permission denied.

I can't save files .ts and this error show up. Why is that?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-04-30 16:58:21 +0000

grahamb gravatar image

Presumably you're trying to save the file in a location you don't have permission for. Check whatever target directory is being used by the Lua script in question.

edit flag offensive delete link more


Hi, It is the standard folder access denial because lua script default folder is "c:\ Program Files\Wireshark", a standard user does not have access to this folder. While saving the file, I give full path to folder which I have write permissions. for example, "c:\myFolder\sample.ts", it worked for me!

tapowad gravatar imagetapowad ( 2021-03-11 09:26:40 +0000 )edit

One of the mpeg lua script behavior to save the ts or mp4 file in the c:\program files\wireshark folder and it doesn't understand windows variables. The user will need permission to write to that that folder. The workaround is the user enters the complete path with the file name, An example is c:\users\xxxx\Documents\test.mp4 (xxxx is your Windows user account). Later on, the path isn't required. I haven't figure out why that happens.

Please respond if you need help with this.

BigFatCat gravatar imageBigFatCat ( 2021-03-11 21:34:44 +0000 )edit

The script, once line 70 has been commented out, will save the file as specified in the "Output file" location of the dialog displayed by the script. You should enter a path that you can write to and it should be an absolute path, e.g. C:\temp\mpeg.ts as a relative one, e.g. mpeg.ts is relative to the Wireshark program directory which is not writeable unless Wireshark is run elevated, which you should NEVER do.

grahamb gravatar imagegrahamb ( 2021-03-11 22:27:51 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2019-04-30 15:13:45 +0000

Seen: 351 times

Last updated: Mar 11