in pcmanfm-qt, permission denied after successful decryption

Bug #2017464 reported by Douglas Lucas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcmanfm-qt (Ubuntu)
New
Undecided
Unassigned

Bug Description

Narrative (see summary below): I live boot into Lubuntu 23.04. First thing, I open up pcmanfm-qt and under devices, I select my LUKS-encrypted ext4 HDD. A dialog opens where I'm to "Connect as user" to the drive, though the username is grayed out (that's expected behavior, there's 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, including allowing me to 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 to do so, 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 -- those same two options: forget immediately; 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 pcmanfm-qt in Lubuntu 22.10. The error is unique to pcmanfm-qt and 23.04. Finally, in Lubuntu 22.10 and Lubuntu 23.04, if I pick "Remember forever", in both cases with pcmanfm-qt I get the error message "An operation is already pending" and with nautilus the error message "Unable to access location An operation is already pending" I never use "Remember forever" (except experimentally for bug reports!) but I include it just in case it might be related.

Summary:

In 23.04 with pcmanfm-qt
===

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

"Remember forever" --> "Unable to access location An operation is already pending"

In 22.10 with pcmanfm-qt
===

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

"Remember forever" --> "Unable to access location An operation is already pending"

Release of Ubuntu using (Lubuntu 23.04):
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.04
Release: 23.04

Version of the package using (pcmanfm-qt):
$ apt-cache policy pcmanfm-qt
pcmanfm-qt:
  Installed: 1.2.1-0ubuntu3
  Candidate: 1.2.1-0ubuntu3
  Version table:
 *** 1.2.1-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu lunar/universe amd64 Packages
        100 /var/lib/dpkg/status

What I expected to happen: Upon successful decryption with correct passphrase using either "Forget password immediately" or "Remember password for this session", pcmanfm-qt should allow me to access the directories and files on the newly decrypted drive

What happened instead: Upon successful decryption with correct passphrase using either "Forget password immediately" or "Remember password for this session", pcmanfm-qt shows me the decrypted HDD's label but says "Error opening directory '/media/lubuntu/label': Permission denied"

Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: pcmanfm-qt 1.2.1-0ubuntu3
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: pass
CasperVersion: 1.480
CurrentDesktop: LXQt
Date: Mon Apr 24 03:06:47 2023
LiveMediaBuild: Lubuntu 23.04 "Lunar Lobster" - Release amd64 (20230417)
SourcePackage: pcmanfm-qt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Douglas Lucas (u-dal) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :
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.