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

Permissions Error with opt folder #392

Closed
joesan opened this issue Jul 18, 2020 · 3 comments
Closed

Permissions Error with opt folder #392

joesan opened this issue Jul 18, 2020 · 3 comments
Labels
kind/bug Something isn't working

Comments

@joesan
Copy link

joesan commented Jul 18, 2020

Expected behavior

Doing a ls -la should list me all the files in the directory, in this case the /opt directory

Actual behavior

joesan@joesan-InfinityBook-S-14-v5:/opt/softwares$ ls -l
cannot access '.': Permission denied (os error 13)

I guess there is an issue already relating to this. I could not infer the proposed solution to that issue.

https://github.com/Peltoche/lsdcannot%20access%20'.':%20Permission%20denied%20(os%20error%2013)/issues/79

Should I uninstall and install a newer version to fix this? If so which package is that for Ubuntu 20.04?

@joesan joesan added the kind/bug Something isn't working label Jul 18, 2020
@zwpaper
Copy link
Member

zwpaper commented Aug 12, 2020

Hi @joesan

May I ask how do u install lsd, if snap, maybe u should uninstall it and try a deb from
https://github.com/Peltoche/lsd#on-ubuntu
or a binary from
https://github.com/Peltoche/lsd#from-binaries

the problem may be caused by snap and it's not easy to fix

@Peltoche
Copy link
Collaborator

hello @joesan,

The snap packages are not more maintained due to too much issues with the jail system. I try without success to delete the available binaries since quite some time. As proposed by @zwpaper you should install it for the .deb.

zwpaper pushed a commit to zwpaper/lsd that referenced this issue Aug 15, 2020
zwpaper added a commit to zwpaper/lsd that referenced this issue Aug 15, 2020
zwpaper added a commit to zwpaper/lsd that referenced this issue Aug 26, 2020
meain pushed a commit that referenced this issue Aug 26, 2020
@joesan
Copy link
Author

joesan commented Aug 29, 2020

This is how I unistalled lsd from the snap package

joesan@joesan-InfinityBook-S-14-v5:~$ sudo snap remove lsd

Then I downloaded the .deb package from the release page and installed it as below:

sudo dpkg -i lsd_0.17.0_amd64.deb 

@joesan joesan closed this as completed Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants