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

Save (overwrite opened file) fails - (Windows share...) #58

Closed
phastmike opened this issue Nov 21, 2023 · 2 comments
Closed

Save (overwrite opened file) fails - (Windows share...) #58

phastmike opened this issue Nov 21, 2023 · 2 comments

Comments

@phastmike
Copy link
Owner

While saving tagged lines into the already opened file gives and error and application crashes.

Needs more testing

@phastmike
Copy link
Owner Author

** (tags:4663): ERROR **: 09:33:54.078: lines-tree-view.vala:190: Error: Error renaming temporary file: Text file busy

@phastmike
Copy link
Owner Author

phastmike commented Jun 4, 2024

Apparently this is happening on Windows shares while exposed on VM Linux Guest. A weakness .... "wooooh" 👻

Using GFile as an identifier has the same weaknesses as using a path in that there may be multiple aliases for the same file. For instance, hard or soft links may cause two different GFiles to refer to the same file. Other possible causes for aliases are: case insensitive filesystems, short and long names on FAT/NTFS, or bind mounts in Linux

@phastmike phastmike changed the title Save (overwrite opened file) fails Save (overwrite opened file) fails - (Windows share...) Jun 4, 2024
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

1 participant