in pacman, permission denied after successful decryption

Bug #2017453 reported by Douglas Lucas
6
This bug affects 1 person
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/lubuntu/label': Permission denied." That's the same whether I pick "Forget password immediately" or "Remember password for this session."

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://archive.ubuntu.com/ubuntu lunar/universe amd64 Packages

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)
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
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)

Revision history for this message
Douglas Lucas (u-dal) wrote :
Revision history for this message
Douglas Lucas (u-dal) wrote :

To summarize:

In 23.04 with pacman
===
"Forget password immediately" --> "Error opening directory '/media/lubuntu/label': Permission denied"

"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"

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

You've filed this against the package 'pacman` which is described a game which allows players to "Chase Monsters in a Labyrinth". You've filed this bug incorrectly.

Details collected & filed with the bug report where aimed 'pacman' game you filed against, so I've marked this bug as incomplete. The filed against package could be changed to 'pcmanfm-qt' which I believe was your intention, but its probably better if a new bug report is created, so bug specific details relate to the `pcmanfm-qt` package rather than `pacman` game this bug report contains details for.

Changed in pacman (Ubuntu):
status: New → Incomplete
Douglas Lucas (u-dal)
Changed in pacman (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.