Permissions on USB device (camera)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm running in XFCE (I boot in run-level 3 and start it with startxfce)
and when I plug in my USB camera (Canon A720), the /dev/usbdev* devices
all are set up owned by root.root with 660 permissions.  This means I
can't use the device as my local user account.

I haven't yet gone to GNOME to see if it works there or not, but I
imagine it would -- I've copied photos off this camera many times from
this machine in the past (not sure they I ever have in XFCE though).

Anyways, wanted to troubleshoot this and so I ran udevadm control
--log_priority=debug, plugged my device in and found out that
pam_console_apply gets called at some point to set the permissions for
me.  Its man page says it looks for /var/run/console.lock, but it
appears, in reality, it checks for /var/run/console/console.lock.  I
see from strace that it reads my username out of there, but I can see
from the debug logs that the root permissions get set on my device
anyways!

Anyone have any idea why?  Should I add something to 50-default.perms
for my camera?

Ray

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux