-
-
Notifications
You must be signed in to change notification settings - Fork 437
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
snap version gets "Permission denied" #79
Comments
Hi @rubberneck, Thanks for the report! As each snap run into a specific namespace (or vm I really don't master the subject) it possible that your lsd doesn't have access to your filesystem. Can you try to reinstall it with the sudo snap remove lsd
sudo snap instal lsd --classic |
Yes that works. |
Hello. |
I'm having the same issue on Ubuntu 18.04. Trying to install with --classic doesn't help:
|
Hi @frankkusel and @marxjohnson , Thanks for the report! I think I made some error in this commit -> 596d205 I fix that ASAP. |
I'm having the same issue with Ubuntu 18.10 and lsd 0.13.0 sudo snap install lsd --classic and $ lsd and $ sudo lsd |
Hi @wrapperband , Thanks for the report, I reopen the issue. It's curious because this solution to worked previously. I need to dig a little more into the snap documentation. |
I just got it "working" by installing it with --devmode.
If that helps |
Hi @wrapperband , Thanks for the input but I don't think it's a good practice to install with the devmode because you remove all the jail limitations. On only need a full access to the filesystem but we don't need the access to the network for example. |
Cheers, that's why I said "working", in inverted comma's |
I have the same issue. Can't install the snap in classic mode. |
Same issue with me. Ubuntu 18.04. |
I have same issue on Ubuntu 18.04. |
same issue here ubuntu 18.04 |
I can confirm it, I am on Ubuntu Server 18.04.2. |
I seriously dont know how to fix this issue... Does someone have some knowledges about the snap permissions system? |
(I'm no snap expert!) You have the snap set to An example request: https://forum.snapcraft.io/t/request-for-classic-confinement-classic-snap-analyzer/5057 |
For debugging this sort of thing more generally, you can use
You could add |
@ralight that's too much to remember. Simply I'm just about to go look at the snapcraft.yaml to see what plugs are applied and will report back. |
right, @Peltoche , so you don't define any plugs in apps:
lsd:
command: bin/lsd You likely need at the minimum apps:
lsd:
command: bin/lsd
plugs:
- home You can also allow access to removable disks with apps:
lsd:
command: bin/lsd
plugs:
- home
- removable-media |
tangentially relevant https://tutorials.ubuntu.com/tutorial/continuous-snap-delivery-from-travis-ci |
Hi everyone, Thanks for the help, I will try your recommendations. I will try the "home" and "removeable-media" plug for started but I think there will still have some issues with the |
This is still an unresolved issue. |
@Peltoche thanks for replying, but as you can see from my screenshot,I have already tried |
Arf, indeed, my bad... And |
Hi, I have tested some more folders, ✔️ /dev This seems quite confussing for me.. I believe there are more folders which |
Thanks for the tests. I'm a little lost too. I guess this is related to the snap jail. Can you try to re-install it with the |
@Peltoche Yep I have tried that but unfortunately I got the bug which you have worked on. But with option |
Happened to me on a lot of different machines, have it installed either with |
Recording here that this issue persists on Pop_OS 19.10(closely based on Ubuntu 19.10) |
I got the same problem and solved by install tje package with dpkg. |
I think I will end up by removing the package from snap and it will solve all the issues. |
@Peltoche Hi as I found there is .deb package available, I uninstalled my lsd installed from snap and reinstalled lsd with the .deb package. And surprisingly lsd works really fine now:tada: lsd now works fine with every path I mentioned above!
Congratulation! 🎉 I think we could close this issue now. |
snap is not more maintained: lsd-rs#79 lsd-rs#392
snap is not more maintained: lsd-rs#79 lsd-rs#392
snap is not more maintained: lsd-rs#79 lsd-rs#392
I'm using kubuntu 20.20, and the buggy lsd is still available through snap. Can you please remove it? I think that would save a lot of people the trouble of rediscovering the problem and eventually switching to the deb |
@Peltoche what's your idea? As we did not support snap anymore, shall we remove it? |
If this snap is not going to be updated to a version that works properly could you please remove it? It only causes confusion. |
From what I could understand, an app once published cannot be removed from the snap store. |
I see this same issue (permission denied) when using lsd on Ubuntu 20.04 on Windows (WSL). |
I just installed this tool last night. It's a great tool, but the greatness of it is moot if you can't list things you should be able to list. I installed it via snap and |
The snap version has been discontinued and as of now we don't have any plans to update it. If you are using a ubuntu or any other debian derivative refer this section(https://github.com/Peltoche/lsd#on-ubuntu) of the readme on how to install An app once published cannot be removed from the snap store. That is why it is still there. |
This is on ubuntu 18.04.1
Expected behavior
lsd to give a listing
Actual behavior
$ lsd cannot open directory'.': Permission denied (os error 13)
The text was updated successfully, but these errors were encountered: