First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

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

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?

marta's avatar
1
marta
asked 2019-04-30 15:13:45 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

grahamb's avatar
23.8k
grahamb
answered 2019-04-30 16:58:21 +0000
edit flag offensive 0 remove flag delete link

Comments

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's avatar tapowad (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's avatar BigFatCat (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's avatar grahamb (2021-03-11 22:27:51 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer