Camera access permission

Sorry if the question is basic, it’s my first time using linux. I’m on Fedora 41. Built-in camera app doesn’t work because it doesn’t have access. I looked it up in the settings and on the internet. Looks like all of the permissions are for the user there. The camera access in the settings is turned on, I also added my user to video group through termial and run

sudo modprobe uvcvideo

just in case. Please give advice on how to give my camera and other apps permission of camera access

upd:
fedora gdm-password][2398]: gkr-pam: unable to locate daemon control file
fedora systemd[2415]: Failed to start app-gnome-vmware\x2duser-2763.scope - Application launched by gnome-session-binary.

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    /sys/bus/usb/devices/usb1  /dev/bus/usb/001/001
    |__ Port 001: Dev 002, If 0, Class=Vendor Specific Class, Driver=mt7601u, 480M
        ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
        /sys/bus/usb/devices/1-1  /dev/bus/usb/001/002
    |__ Port 002: Dev 003, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 1ea7:0064 SHARKOON Technologies GmbH 2.4GHz Wireless rechargeable vertical mouse [More&Better]
        /sys/bus/usb/devices/1-2  /dev/bus/usb/001/003
    |__ Port 004: Dev 004, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 04ca:0022 Lite-On Technology Corp. 
        /sys/bus/usb/devices/1-4  /dev/bus/usb/001/004
    |__ Port 005: Dev 005, If 0, Class=Wireless, Driver=btusb, 12M
        ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
        /sys/bus/usb/devices/1-5  /dev/bus/usb/001/005
    |__ Port 005: Dev 005, If 1, Class=Wireless, Driver=btusb, 12M
        ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
        /sys/bus/usb/devices/1-5  /dev/bus/usb/001/005
    |__ Port 007: Dev 006, If 0, Class=Video, Driver=uvcvideo, 480M
        ID 0c45:64ab Microdia 
        /sys/bus/usb/devices/1-7  /dev/bus/usb/001/006
    |__ Port 007: Dev 006, If 1, Class=Video, Driver=uvcvideo, 480M
        ID 0c45:64ab Microdia 
        /sys/bus/usb/devices/1-7  /dev/bus/usb/001/006
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    /sys/bus/usb/devices/usb2  /dev/bus/usb/002/001
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/6p, 480M
        ID 8087:8008 Intel Corp. Integrated Rate Matching Hub
        /sys/bus/usb/devices/2-1  /dev/bus/usb/002/002
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    /sys/bus/usb/devices/usb3  /dev/bus/usb/003/001
    |__ Port 002: Dev 002, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
        ID 8564:7000 Transcend Information, Inc. StoreJet 25H3
        /sys/bus/usb/devices/3-2  /dev/bus/usb/003/002
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    /sys/bus/usb/devices/usb4  /dev/bus/usb/004/001
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/6p, 480M
        ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
        /sys/bus/usb/devices/4-1  /dev/bus/usb/004/002
uid=1000(s) gid=1000(s) groups=1000(s),10(wheel),39(video) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
getfacl: Removing leading '/' from absolute path names
# file: dev/video0
# owner: root
# group: video
user::rw-
user:s:rw-
group::rw-
mask::rw-
other::---

# file: dev/video1
# owner: root
# group: video
user::rw-
user:s:rw-
group::rw-
mask::rw-
other::---

1 Like

I had this issue.

opened settings → privacy & security then turned off allow permission for apps. restarted the camera app.

1 Like

I have the same issue, also on Fedora 41. The camera app just shows a black picture saying “Missing Camera Permission. Allow camera usage in Settings”, but the Privacy and Security settings are already set to “Allow permitted apps to use cameras”. Did you find a solution?

I think that the “Allow permitted apps to use cameras” label should be rewritten to read, “allow only permitted apps to use cameras.” As crazyram pointed out, above, turning the setting off permits the Camera app to work.

1 Like

I should have said, but I did actually try that. When I set it to off the text “Missing camera permission…” disappears, but the picture is still just black with the barred, white camera symbol.

The setting seems flipped, it works for me like this:

gsettings set org.gnome.desktop.privacy disable-camera true
1 Like

The label means what it says. However, unsandboxed apps can do whatever they want (as Settings warns below ‘Permitted Apps’).

What may be happening is that going through the Camera portal isn’t working, and locking down the Camera portal entirely makes the app use Pipewire directly instead.

There have been some issues with certain portals not working reliably for unsandboxed apps. The Flatpak version should work properly.

I assume that you’ve confirmed there is no shutter over your camera?

Yes. But I realise that now it is probably a camera malfunction or driver issue. The text “missing permission” does go away when I set disable-camera to true/turn off “allow permitted apps to use cameras”. I guess that means there is no longer a permission issue and my problem does not belong here. But the awkward wording of these parameters didn’t help me realise that…

Thanks, it helps!