[GH-ISSUE #3551] private-tmp in meld breaks diff view #2231

Closed
opened 2026-05-05 08:55:24 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @bbhtt on GitHub (Jul 26, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3551

Firejail 0.9.62,0.9.63
Meld 3.20.2

System:Kernel: 5.4.0-42-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Xfce 4.14.2 
Distro: Ubuntu 20.04.1 LTS  

Seems like files are sourced from /tmp and private-tmp is creating problems in the diff view: https://imgur.com/SlIahe8. Not sure if this has something to with CLI/frontends using git. Other diff viewers seem to work.The repo is cloned in /home/git/GitHub/.
Maybe a comment should be written above it.

Originally created by @bbhtt on GitHub (Jul 26, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3551 `Firejail 0.9.62,0.9.63` `Meld 3.20.2` ``` System:Kernel: 5.4.0-42-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Xfce 4.14.2 Distro: Ubuntu 20.04.1 LTS ``` Seems like files are sourced from `/tmp` and `private-tmp` is creating problems in the diff view: https://imgur.com/SlIahe8. Not sure if this has something to with CLI/frontends using git. Other diff viewers seem to work.The repo is cloned in `/home/git/GitHub/`. Maybe a comment should be written above it.
Author
Owner

@rusty-snake commented on GitHub (Jul 26, 2020):

With diffview you mean what? Which command or menu?

<!-- gh-comment-id:663973372 --> @rusty-snake commented on GitHub (Jul 26, 2020): With diffview you mean what? Which command or menu?
Author
Owner

@bbhtt commented on GitHub (Jul 26, 2020):

With diffview you mean what? Which command or menu?

The comparison view you get when you change a file.

<!-- gh-comment-id:663973499 --> @bbhtt commented on GitHub (Jul 26, 2020): > With diffview you mean what? Which command or menu? The comparison view you get when you change a file.
Author
Owner

@rusty-snake commented on GitHub (Jul 26, 2020):

For me it works, can you give more detailed steps.

<!-- gh-comment-id:663973756 --> @rusty-snake commented on GitHub (Jul 26, 2020): For me it works, can you give more detailed steps.
Author
Owner

@bbhtt commented on GitHub (Jul 26, 2020):

It works in CLI I think. Set meld as diff tool in it, open a file in text editor through cola, change something, right click on unstaged chages, view using diff tool.

Commenting private-tmp solves the issue.

<!-- gh-comment-id:663974221 --> @bbhtt commented on GitHub (Jul 26, 2020): It works in CLI I think. Set meld as diff tool in it, open a file in text editor through cola, change something, right click on unstaged chages, view using diff tool. Commenting `private-tmp` solves the issue.
Author
Owner

@rusty-snake commented on GitHub (Jul 26, 2020):

git difftool file_with_changes

<!-- gh-comment-id:663975055 --> @rusty-snake commented on GitHub (Jul 26, 2020): `git difftool file_with_changes`
Author
Owner

@bbhtt commented on GitHub (Jul 26, 2020):

Doesn't work without that patch, I had it commented already in another terminal when I said "CLI" works. Thanks,

<!-- gh-comment-id:663975409 --> @bbhtt commented on GitHub (Jul 26, 2020): Doesn't work without that patch, I had it commented already in another terminal when I said "CLI" works. Thanks,
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2231
No description provided.