Bug 62976
Summary: | /dev/console not owned by user a la /etc/security/console.perms | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Chris Runge <crunge> |
Component: | gphoto2 | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED RAWHIDE | QA Contact: | Aaron Brown <abrown> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-04-18 02:56:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 61901 |
Description
Chris Runge
2002-04-08 19:54:47 UTC
This is expected. Ownership of /dev/console should only be changed if you log in using a display manager such as xdm, gdm, or kdm. Which app are you referring to? I tested this with my camera on a fresh install of the latest stuff, and i could use gtkam perfectly as a user. pam 0.75-32 gphotot 2.0-2 if /dev/console should be owned by the user only if using a display manager, perhaps this bug should be closed and/or reassigned to gphoto2, which by default assumes ownership of /dev/console (in turn assuming the user is using a display manager) fwiw, I wasn't using a display manager--the system is in runlevel 3 and I use startx to bring up X Please check if gphoto2-2.0-4 (coming soon to Raw Hide) fixes this for you (it should). This appeared to be caused by a slight problem with the logic in the /etc/hotplug/usb/usbcam script, which assumes that the console user for pam_console always owns /dev/console, which is only the case if a display manager is being used. The update changes the logic to look in the console lock file, which contains the name of the user who is logged in on the console. Not sure about Chris, but I'm still having problems with /dev/console when gtkam is run as non-root: haring (root):~ > ls -la /dev/console crw------- 1 root root 5, 1 Apr 17 21:38 /dev/console This is with gphoto2-2.0-4. OK, while I'm still seeing /dev/console owned by root, gtkam appears to be working just fine for non-root, as well as gphoto2 commandline stuff, so guess that we are good to go here. |