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

use XDG_RUNTIME_DIR instead of /tmp #3294

Open
KAGEYAM4 opened this issue Sep 14, 2024 · 0 comments
Open

use XDG_RUNTIME_DIR instead of /tmp #3294

KAGEYAM4 opened this issue Sep 14, 2024 · 0 comments
Assignees
Milestone

Comments

@KAGEYAM4
Copy link
Contributor

KAGEYAM4 commented Sep 14, 2024

Bug description

currently /tmp/Grabber is used to store temp images. This creates problem when two imgbrd grabber is launched with different user accounts in linux.

Steps to reproduce

  1. Launche Grabber-gui from two user accounts using Virtual console.
  2. open image from both Grabber instance
  3. Only image from one Grabber instance will load
  4. See error - Unable to open file .... permission deined(5)

System information

  • OS: ArchLinux
  • Grabber version: v7.12.2

Additional context

Use XDG_RUNTIME_DIR, which is a runtime temp directroy per user. https://askubuntu.com/questions/872792/what-is-xdg-runtime-dir

@KAGEYAM4 KAGEYAM4 added the bug label Sep 14, 2024
@Bionus Bionus added the linux label Sep 29, 2024
@Bionus Bionus self-assigned this Sep 29, 2024
@Bionus Bionus added this to the 7.13.0 milestone Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants