Hi friends, I find problems with MAT2, when I try to give the command: $mat 2 -s
I can not see the meta tags of the file, I see a permissions error:
root@host:/home/user/Downloads# mat2 -s prince-wedding-2-640x640.jpg
bwrap: Can’t find source path /home/user/Downloads: Permission denied
Traceback (most recent call last):
File “/usr/bin/mat2”, line 186, in
sys.exit(main())
File “/usr/bin/mat2”, line 170, in main
show_meta(f)
File “/usr/bin/mat2”, line 72, in show_meta
__print_meta(filename, p.get_meta())
File “/usr/lib/python3/dist-packages/libmat2/exiftool.py”, line 23, in get_meta
check=True, stdout=subprocess.PIPE).stdout
File “/usr/lib/python3/dist-packages/libmat2/subprocess.py”, line 100, in run
completed_process = subprocess.run(prefix_args + args, **kwargs)
File “/usr/lib/python3.7/subprocess.py”, line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ‘[’/usr/bin/bwrap’, ‘–ro-bind’, ‘/usr’, ‘/usr’, ‘–ro-bind’, ‘/lib’, ‘/lib’, ‘–ro-bind’, ‘/lib64’, ‘/lib64’, ‘–ro-bind’, ‘/bin’, ‘/bin’, ‘–ro-bind’, ‘/sbin’, ‘/sbin’, ‘–ro-bind’, ‘/home/user/Downloads’, ‘/home/user/Downloads’, ‘–ro-bind’, ‘/etc/ld.so.cache’, ‘/etc/ld.so.cache’, ‘–dev’, ‘/dev’, ‘–chdir’, ‘/home/user/Downloads’, ‘–unshare-all’, ‘–new-session’, ‘–ro-bind’, ‘/home/user/Downloads/prince-wedding-2-640x640.jpg’, ‘/home/user/Downloads/prince-wedding-2-640x640.jpg’, ‘/usr/bin/exiftool’, ‘-json’, ‘prince-wedding-2-640x640.jpg’]’ returned non-zero exit status 1.
root@host:/home/user/Downloads#
Blockquote