当我想安装任何应用程序或以管理员身份打开文件夹时,我会收到以下错误:权限不正确

当我想安装任何应用程序或以管理员身份打开文件夹时,我会收到以下错误:权限不正确
error incorrect permissions on /usr/lib/policykit-1/polkit-agent-helper-1 (needs to be setuid root)

我曾尝试过以下命令

ls -l /usr/lib/policykit-1/polkit-agent-helper-1

预期输出为

-rwsr-xr-x 1 root root 22840 Feb 21 18:28 /usr/lib/policykit-1/polkit-agent-helper-1

但输出来了

-rwsr-xr-x 1 nayan root 22840 Feb 21 18:28 /usr/lib/policykit-1/polkit-agent-helper-1

第二个问题是我的笔记本电脑 wifi 适配器没有显示

lshw -C network
WARNING: you should run this program as super-user.
  *-network DISABLED        
       description: Wireless interface
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlp0s20f3
       version: 20
       serial: 60:a5:e2:39:54:81
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.14.0-1034-oem firmware=63.c04f3485.0 QuZ-a0-hr-b0-63.u latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: iomemory:600-5ff irq:16 memory:601d194000-601d197fff

答案1

您可以通过将文件所有权改回 来修复此问题root

跑步

sudo chown root:root /usr/lib/policykit-1/polkit-agent-helper-1

相关内容