in pacman, permission denied after successful decryption
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pacman (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Narrative: I live boot into Lubuntu 23.04. First thing, I open up PacManFM-Qt and under devices, I select my LUKS-encrypted ext4 HDD. A dialog opens where I'm to "Connect as user" to the drive but the username is grayed out (expected behavior, no problem yet). My task is to enter my passphrase after selecting one of three options: Forget password immediately; Remember password for this session; Remember forever.
If I pick "Forget password immediately" or "Remember password for this session" and successfully enter my passphrase, the drive decrypts, I can see the drive's label, but I can't access any of the root directory or the subdirectories of this newly decrypted drive. If I try by clicking the decrypted drive, I get an error message, namely "Error opening directory '/media/
However, if I try all that in Lubuntu 23.04 with Nautilus -- these same two options, forget immediately and remember for session -- Nautilus not only decrypts and shows me the label, it also successfully allows me to access the root files and subdirectories. So the bug isn't in Nautilus. Also, the error does not occur with PacmanFM-Qt in Lubuntu 22.10. The error is unique to PacManFM-Qt and 23.04. Finally, in Lubuntu 22.10 and 23.04, if I pick "Remember forever", in both cases with pacman I get an error message "An operation is already pending" and with Nautilus an error message "Unable to access location An operation is already pending" I never use "Remember forever" but I include it because it might be related.
Release of Ubuntu (Lubuntu 23.04):
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 23.04
Release: 23.04
Codename: lunar
Version of package (Lubuntu 23.04):
$ apt-cache policy pacman
pacman:
Installed: (none)
Candidate: 10-19
Version table:
10-19 500
500 http://
Expected: Input passphrase successfully should yield decrypt and ability to access files
Unexpected: Input passphrase successfully yielded decrypt but no ability to access file, no permission
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: pacman (not installed)
ProcVersionSign
Uname: Linux 6.2.0-20-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CasperVersion: 1.480
CurrentDesktop: LXQt
Date: Sun Apr 23 22:15:26 2023
LiveMediaBuild: Lubuntu 23.04 "Lunar Lobster" - Release amd64 (20230417)
SourcePackage: pacman
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in pacman (Ubuntu): | |
status: | Incomplete → Invalid |
To summarize:
In 23.04 with pacman lubuntu/ label': Permission denied"
===
"Forget password immediately" --> "Error opening directory '/media/
"Remember password for this session" --> "Error opening directory '/media/ lubuntu/ label': Permission denied"
"Remember forever" --> "An operation is already pending"
In 23.04 with nautilus
===
"Forget password immediately" --> works!
"Remember password for this session" --> works!
"Reemmber forever" --> "Unable to access location An operation is already pending"
In 22.10 with pacman
===
"Forget password immediately" --> works!
"Remember password for this session" --> works!
"Remember forever" --> "An operation is already pending"
In 22.10 with nautilus
===
"Forget password immediately" --> works!
"Remember password for this session" --> works!
"Reemember forever" --> "Unable to access location An operation is already pending"