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

"You don't have permission to write file(s) to that location" #85

Open
EagleWingz7500 opened this issue Jul 18, 2021 · 13 comments
Open
Labels
question Further information is requested

Comments

@EagleWingz7500
Copy link

I have a PixivOmina download folder, and usually I will add a sub folder of the Artist's name, but after the update, seems like I can't.
image

@leoding86
Copy link
Owner

There are 2 reasons for the notification shows up. First, the application can't write configurations to the configuration folder. Second, it can't download file to the target folder.

Run the application as Administrator will resolve most permission issues. But if you don't want to run it using administrator privilege, please check the followings.

  1. Make sure you have write permission to the download folder.
  2. Make sure you have read and write permission to the installation folder.

You can create any file in the target folder, and you can sure you have the write permission to the folder if there isn't any popup.

@leoding86 leoding86 added the question Further information is requested label Jul 19, 2021
@Mirrorman95
Copy link

I'm also having this problem, even after running it as Administrator.

@sakkamade
Copy link
Contributor

@Mirrorman95, Did you run into it when tried to change the "Save to" under "Downloads" tab?

@Mirrorman95
Copy link

Mirrorman95 commented Oct 2, 2021

@Mirrorman95, Did you run into it when tried to change the "Save to" under "Downloads" tab?

Yes.

@sakkamade
Copy link
Contributor

Thank you. Could you also share which version it started with?

@Mirrorman95
Copy link

Thank you. Could you also share which version it started with?

I've been using version 0.9.1. I don't think I tried much of previous versions, so I don't know if they had the problem, too.

@sakkamade
Copy link
Contributor

sakkamade commented Oct 16, 2021

@Mirrorman95, You can try to find out when it has started (by installing older versions), or use the workaround I mentioned here: #89 (comment)

... As a temporary workaround I changed the path in the config file.
In my case, the config was in /home/user/.config/Pixiv Omina/config/settings.config (I am on Linux).
Default path can be changed here:
{"saveTo":"/default/path", ...}

... (on Windows) search for settings.config file or Pixiv Omina directory in, e.g. C:\Users\(username)\AppData\Local or C:\Users\(username)\AppData\Roaming

EDIT: You can also downgrade to version 0.7.7, as it was the latest stable version I remember.

@Mirrorman95
Copy link

I

@Mirrorman95, You can try to find out when it has started (by installing older versions), or use the workaround I mentioned here: #89 (comment)

... As a temporary workaround I changed the path in the config file.
In my case, the config was in /home/user/.config/Pixiv Omina/config/settings.config (I am on Linux).
Default path can be changed here:
{"saveTo":"/default/path", ...}

... (on Windows) search for settings.config file or Pixiv Omina directory in, e.g. C:\Users\(username)\AppData\Local or C:\Users\(username)\AppData\Roaming

EDIT: You can also downgrade to version 0.7.7, as it was the latest stable version I remember.

Sorry it took so long to reply. I tried editing that config file manually like you said, but the program changes it back to my computer's default Downloads directory as soon as it boots back up, regardless of whether or not it's being run as an Administrator. I haven't tried downgrading yet, because I can always just move the files afterwards. Would there be any major loss of functionality between the two versions?

@sakkamade
Copy link
Contributor

but the program changes it back to my computer's default Downloads directory

Wow, that's unexpected. In my case, on Linux, it worked. But I also use a several-commits newer version than the 0.9.1 tag, perhaps that is the reason.
I guess you can try setting the config file as Read-Only?

Would there be any major loss of functionality between the two versions?

Hm, well, honestly, no, I don't think there would (unless there was a major changes in pixiv api, and 0.7.7 does not work any more).
Maybe only this one #31 (comment), although I still had no input on whether it was intentional change.

There was a major refactoring at the time, after 0.7.7—plugins support, etc.—and the work on it quite halted several times already.
I think it is absolutely save to use 0.7.7 until leoding86 will return.
But please do open new issue reports, if you experience some other problems with the newest version.

@sakkamade
Copy link
Contributor

Here user had similar/same problem #89, not sure if they resolved it.

@06000208
Copy link

06000208 commented Feb 16, 2022

This happens for me on version 0.9.1, windows 10, from the "Add download" modal and the settings menu regardless of whether I run the software regularly or as adminstrator, and I've ensured that the folder's permissions are configured correctly.

Editing the AppData\Roaming\Pixiv Omina\config\settings.config file did work and allow me to download to a specific folder.

@Pinwee
Copy link

Pinwee commented Feb 28, 2023

This happens for me on version 0.9.1, windows 10, from the "Add download" modal and the settings menu regardless of whether I run the software regularly or as adminstrator, and I've ensured that the folder's permissions are configured correctly.

Editing the AppData\Roaming\Pixiv Omina\config\settings.config file did work and allow me to download to a specific folder.

Thank you, my friend, through your method, I successfully modified the download address of the file.

@Mirrorman95
Copy link

This happens for me on version 0.9.1, windows 10, from the "Add download" modal and the settings menu regardless of whether I run the software regularly or as adminstrator, and I've ensured that the folder's permissions are configured correctly.

Editing the AppData\Roaming\Pixiv Omina\config\settings.config file did work and allow me to download to a specific folder.
Thanks, that fixed it for me, too.

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

No branches or pull requests

6 participants