pcmanfm mounts the drives without requesting the root even if "nouser" option in fstab is applied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Lubuntu Software Center |
Invalid
|
Undecided
|
Unassigned | ||
pcmanfm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I using Lubuntu 16.04 distro.
The string from my fstab:
UUID=e7b056ce-
$ mount /media/
mount: only root can mount UUID=e7b056ce-
It looks good, but somehow we still can mount it from pcmanfm with one click.
And I am not sure that is pcmanfm bug.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: pcmanfm 1.2.4-1
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Config_
CurrentDesktop: LXDE
Date: Thu May 12 11:17:44 2016
InstallationDate: Installed on 2016-05-10 (1 days ago)
InstallationMedia: Lubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: pcmanfm
Udisks_dump: Error: [Errno 2] Нет такого файла или каталога: 'udisks'
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
pcmanfm mounts the drives without requesting the root even if "nouser" - option in fstab applied + option in fstab is applied |
tags: | added: lubuntu pcmanfm |
information type: | Private Security → Public Security |
pcmanfm uses libfm to mount the volume. libfm in turn uses GVolume, which in turn uses Udisks.
Udisks on Ubuntu ships with a policykit file that allows users in the sudo group to mount local disks without asking for root privileges.
See the policy file here: polkit- 1/localauthorit y/10-vendor. d/com.ubuntu. desktop. pkla
/var/lib/
I am closing this bug since this works as intended. Thanks!