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

storage is readonly #1059

Closed
zhaozhiwei1992 opened this issue Jan 7, 2019 · 13 comments
Closed

storage is readonly #1059

zhaozhiwei1992 opened this issue Jan 7, 2019 · 13 comments

Comments

@zhaozhiwei1992
Copy link

zeal-version: 0.6.1
os: Linux archlinux 4.20.0-arch1-1-ARCH

after mkdir (.local/share/Zeal/Zeal/docsets) by myself , it works

@trollixx
Copy link
Member

There are problems with the read-only detection on Windows (#1036), now we discovered one on Linux. :(

@brejoc
Copy link

brejoc commented Jul 3, 2019

On Ubuntu (bionic) this is not working for me. Are we really talking about ~/.local/share/Zeal/Zeal/docsets here?

@yfcube
Copy link

yfcube commented Apr 16, 2020

On Ubuntu (bionic) this is not working for me. Are we really talking about ~/.local/share/Zeal/Zeal/docsets here?

Yes it's indeed ~/.local/share/Zeal/Zeal/docsets works for me on Ubuntu 16.04

@rotu
Copy link

rotu commented Apr 20, 2020

👍 After installing Zeal from apt on Ubuntu, I too had to mkdir -p ~/.local/share/Zeal/Zeal/docsets.

@trollixx
Copy link
Member

@rotu Is there something special about how the home directory setup? Different user/group/permissions?

@rotu
Copy link

rotu commented Apr 21, 2020

@trollixx Not AFAICT. The permission flags on ~/.local/share are drwx------ and I am the owner. AFAICT, Zeal should have had no trouble creating this directory.

@trollixx
Copy link
Member

m_isStorageReadOnly = !fi.isWritable();

I think it may be failing when path does not exist...

@LawrenceXia2008
Copy link

On windows, installing with Installer(MSI) style may rise this error. Then you can try install with Portable style, this will not rise any questions in Docset using. Hope this work for others.

@trollixx trollixx modified the milestones: Short Term, 0.7.0 May 26, 2020
trollixx added a commit that referenced this issue May 26, 2020
Checks if the directly is writable by attempting to write.

Fixes #1036 and #1059.
@eromoe
Copy link

eromoe commented Sep 2, 2020

After I moved zeal-portable from C: to D: , it gave me this error .

@trollixx
Copy link
Member

trollixx commented Sep 6, 2020

@eromoe please try the CI build from AppVeyor.

@everyoneknowsadave
Copy link

The issue is relative vs absolute paths.

It shows up at a full path in Windows E:\blah blah\zeal\docsets

But you click "Browse", and locate it, and select location, it just puts "docset" as the directory. And then it works and finds previous docsets.

@zany130
Copy link

zany130 commented Sep 11, 2021

im getting this issue on garuda linux had to mkdir -p ~/.local/share/Zeal/Zeal/docsets

@iambrojohnson
Copy link

I'm experiencing the same issue too
My OS is PopOs
Tried every solutions here but nothing is woking

@github-actions github-actions bot locked and limited conversation to collaborators Aug 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

10 participants