Bug #4067
closedUnmounting a USB drive as a user in 151a8
100%
Description
Upon upgrading from 151a7 to 151a8, I can no longer unmount a usb drive as a user. Whether I use the contextual menu in the gnome gui or I use issue $ umount /media/USB20FD, I get an error: "umount: permission denied".
As superuser, issuing # umount /media/USB20FD is effective.
Before upgrading, unmounting as a user worked as expected, graphically or manually.
Updated by Stephen Jones over 9 years ago
I have been able to back out of the fault by booting to a backup boot environment. The error does not exist in a backup boot environment on 16 August, but the error exists in the boot environment on 19 August. So, the problem does not seem to be in the initial upgrade from 151a7 to 151a8, but in a subsequent patching.
Within this good boot environment, package manager wants to install oodles of updates. The pkg update which is the villain will be difficult to find.
Updated by Stephen Jones over 9 years ago
New bug 4073 seems to be a manifestation of the same bug.
Updated by Milan Jurik over 9 years ago
- Status changed from New to In Progress
- Assignee changed from OI JDS to Milan Jurik
- Tags deleted (
needs-triage)
Updated by Gary Mills about 9 years ago
After I upgraded a machine to oi_151a9, I tried inserting a USB stick. As before, it was automatically mounted. An icon for it appeared on the desktop. When I selected the Unmount option from the icon menu, I got the dialogue box:
Unable to unmount ...
umount: permission denied
The same thing happened with a DVD disk containing OS files. It used to work under oi_151a7. What's changed?
I get these privilege debugging messages when I attempt the unmount from the GUI:
NOTICE: umount[1895]: missing privilege "sys_mount" (euid = 107, syscall = 255) needed at secpolicy_fs_owner+0x3b
NOTICE: umount[1895]: missing privilege "ALL" (euid = 107, syscall = 255) needed at secpolicy_vnode_owner+0x33
NOTICE: metacity[1632]: missing privilege "proc_owner" (euid = 107, syscall = 5) needed at secpolicy_proc_access+0x24
Updated by Udo Grabowski about 9 years ago
Fixed in a9, user can again unmount USB devices.
Updated by Milan Jurik about 9 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Gary Mills wrote:
After I upgraded a machine to oi_151a9, I tried inserting a USB stick. As before, it was automatically mounted. An icon for it appeared on the desktop. When I selected the Unmount option from the icon menu, I got the dialogue box:
Unable to unmount ...
umount: permission deniedThe same thing happened with a DVD disk containing OS files. It used to work under oi_151a7. What's changed?
I get these privilege debugging messages when I attempt the unmount from the GUI:
NOTICE: umount[1895]: missing privilege "sys_mount" (euid = 107, syscall = 255) needed at secpolicy_fs_owner+0x3b
NOTICE: umount[1895]: missing privilege "ALL" (euid = 107, syscall = 255) needed at secpolicy_vnode_owner+0x33
NOTICE: metacity[1632]: missing privilege "proc_owner" (euid = 107, syscall = 5) needed at secpolicy_proc_access+0x24
How do you login to the system? Maybe you are not detected as "console user"?
Please, look at output of "profiles". It should be different issue than this one. This one is fixed.
Updated by Gary Mills about 9 years ago
It still doesn't work for me under oi_151a9. Here's the output that you wanted:
$ profiles
Primary Administrator
Console User
Suspend To RAM
Suspend To Disk
Brightness
CPU Power Management
Network Autoconf User
Desktop Print Management
Basic Solaris User
All
Updated by Milan Jurik about 9 years ago
Gary Mills wrote:
It still doesn't work for me under oi_151a9. Here's the output that you wanted:
$ profiles
Primary Administrator
Console User
Suspend To RAM
Suspend To Disk
Brightness
CPU Power Management
Network Autoconf User
Desktop Print Management
Basic Solaris User
All
You are Primary Administrator and still unable to unmount. Are you able to unmount with "eject" in terminal?
Updated by Gary Mills about 9 years ago
No, I'm not with umount. It says ``umount: permission denied''. If I put `pfexec' in front of it, it does work.
``eject cdrom'' works for me, though. It unmounts the DVD and ejects it from the drive.
Updated by Gary Mills about 9 years ago
The problem I had with an OS DVD under oi_151a9 was resolved by installing the gvfs package. For reasons unknown to me, this package was not installed when I upgraded the system from oi_151a7 to oi_151a8 and now to oi_151a9.
After installing the package, and logging out and in again, I see this behavior:
When the DVD is inserted, the file browser window appears. The device icon also appears, but with a different shape. The icon menu has both Unmount and Eject entries. Formerly, it had only the Unmount entry. Both the Unmount and Eject entries now work correctly.