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

LUKS encrypted external drive owned by nobody:nogroup #218

Open
anandv96 opened this issue Oct 20, 2024 · 1 comment
Open

LUKS encrypted external drive owned by nobody:nogroup #218

anandv96 opened this issue Oct 20, 2024 · 1 comment
Labels
bug Something isn't working triage

Comments

@anandv96
Copy link

Issue Description

When I plug in a LUKS encrypted external SSD, I get a prompt to enter the decryption password. When I enter the password, I see that the drive has been decrypted, because the name of the volume shows up (before entering the key, it only shows up as "Encrypted 1TB")

However, when I try to open the volume on gnome files, I get the error: "This location could not be displayed" "You do not have the permissions to view the contents of "Samsung 1TB" ".

On the terminal, I can see that the mount folder owner is: "nobody nogroup" with the permissions "dwrx------". So nobody can open the dir.

Steps to Reproduce

  • Create an external ext4 drive (pen drive, external HDD/SSD) encrypted with LUKS
  • Plug it into a Vanilla OS computer
  • Try to unlock the device and access the files
  • Enter the correct password

On what version of Vanilla OS this happens?

Vanilla OS 2 Orchid

Additional Information

No response

@anandv96 anandv96 added bug Something isn't working triage labels Oct 20, 2024
@taukakao
Copy link
Member

taukakao commented Nov 8, 2024

Use "host-shell" in the terminal to see the real owner and group.

It's not really a vanilla issue though. The owner and group of the drive just don't match the owner and group of your user.

I think there a "Take Ownership" option in gnome disks and you can also use the "host-shell pkexec chown" command to change it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants