Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

".git/COMMIT_EDITMSG No such file or directory" on mounted disk #108

Open
dusansimic opened this issue Jan 3, 2024 · 3 comments
Open

".git/COMMIT_EDITMSG No such file or directory" on mounted disk #108

dusansimic opened this issue Jan 3, 2024 · 3 comments

Comments

@dusansimic
Copy link

When trying to create a commit in a repository which is located on a mounted disk, I get this error message:

(re.sonny.Commit:2): Gjs-WARNING **: 12:15:04.532: JS ERROR: GLib.FileError: Failed to open file “/var/mnt/data1/Dev/packages/rpms/.git/COMMIT_EDITMSG”: No such file or directory
openEditor@resource:///re/sonny/Commit/application.js:120:31
Application/<@resource:///re/sonny/Commit/application.js:59:15
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

Here is an image with some command results before the actual commit command:

image

I get the same behavior even when I cd into the physical path, not just the logical.

@sonnyp
Copy link
Owner

sonnyp commented Jan 3, 2024

Can you try adding host fs permission to Commit with Flatseal?

@dusansimic
Copy link
Author

Thanks! This solved the issue 😄. I don't know how I didn't think of it earlier.

@sonnyp sonnyp reopened this Jan 3, 2024
@sonnyp
Copy link
Owner

sonnyp commented Jan 3, 2024

I'll fix the issue without needing a workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants