hi i changed sudo permissions while trying to fix something and got this error
sudo must be owned by uid 0 and have the setuid bit set
I booted into recovery mode and ran this
# remount disks in read write mode
mount -o remount,rw /
mount --all
# return ownership
chown root:root /usr/bin/sudo
# fix permissions
chmod 4755 /usr/bin/sudo
reboot
this brought back my sudo access via terminal but now a lot of programs arent opening including OBS and BTRFS-assistant. I started running into trouble after accidentally upgrading my OBS to 29 and trying to downgrade back to OBS 27. would appreciate any help restoring my OBS to 27 and also getting my apps to open.
my snapshots unbeknownst to me were not saving to my other hd so I can't restore a snapshot.
╭─[email protected] in ~
╰─λ garuda-inxi
System:
Kernel: 6.2.11-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=bb27ee55-86c8-4c74-93f1-06004daa8c34 rw [email protected]
splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
ibt=off
Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.9 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: PRIME Z590-A v: Rev 1.xx serial: <superuser required>
UEFI: American Megatrends v: 0402 date: 01/08/2021
Battery:
Device-1: hid-04:4b:ed:eb:cc:93-battery model: Claudia's Trackpad
serial: N/A charge: N/A status: discharging
Device-2: hid-e0:eb:40:cd:73:bd-battery model: Claudia Cho’s Keyboard
serial: N/A charge: N/A status: discharging
CPU:
Info: model: 11th Gen Intel Core i9-11900K bits: 64 type: MT MCP
arch: Rocket Lake gen: core 11 level: v4 note: check built: 2021+
process: Intel 14nm family: 6 model-id: 0xA7 (167) stepping: 1
microcode: 0x57
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 2842 high: 3500 min/max: 800/5100:5300 scaling:
driver: intel_pstate governor: powersave cores: 1: 800 2: 801 3: 3500
4: 3500 5: 3500 6: 3500 7: 3500 8: 818 9: 3500 10: 1053 11: 3500 12: 3500
13: 3500 14: 3500 15: 3500 16: 3500 bogomips: 112128
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: XFX Pine driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands
process: GF 14nm built: 2016-20 ports: active: DP-3,HDMI-A-1
empty: DP-1,DP-2,DVI-D-1 bus-ID: 0000:01:00.0 chip-ID: 1002:67df
class-ID: 0300
Device-2: Realtek NexiGo N660P FHD Webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-7:7 chip-ID: 0bda:0567
class-ID: 0102 serial: <filter>
Device-3: Logitech BRIO Ultra HD Webcam type: USB
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus-ID: 2-7:2
chip-ID: 046d:085e class-ID: 0300 serial: <filter>
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.00x11.22")
s-diag: 1055mm (41.54")
Monitor-1: DP-3 mapped: DisplayPort-2 pos: right model: Samsung C27F390
serial: <filter> built: 2021 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: primary,left
model: Acer EB321HQ A serial: <filter> built: 2021 res: 1920x1080 hz: 60
dpi: 70 gamma: 1.2 size: 698x393mm (27.48x15.47") diag: 801mm (31.5")
ratio: 16:9 modes: max: 1920x1080 min: 720x400
API: OpenGL v: 4.6 Mesa 23.0.2 renderer: AMD Radeon RX 580 Series
(polaris10 LLVM 15.0.7 DRM 3.49 6.2.11-zen1-1-zen) direct-render: Yes
Audio:
Device-1: Intel Tiger Lake-H HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus-ID: 1-13:10 chip-ID: b58e:9e84
alternate: snd_sof_pci_intel_tgl class-ID: 0300 bus-ID: 0000:00:1f.3
serial: <filter> chip-ID: 8086:43c8 class-ID: 0403
Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
vendor: XFX Pine driver: snd_hda_intel v: kernel bus-ID: 0000:01:00.1
chip-ID: 1002:aaf0 class-ID: 0403
Device-3: Blue Microphones Yeti Stereo Microphone type: USB
driver: hid-generic,snd-usb-audio,usbhid
Device-4: Realtek NexiGo N660P FHD Webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-7:7 chip-ID: 0bda:0567
class-ID: 0102 serial: <filter>
Device-5: Logitech BRIO Ultra HD Webcam type: USB
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus-ID: 2-7:2
chip-ID: 046d:085e class-ID: 0300 serial: <filter>
API: ALSA v: k6.2.11-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: alsamixer,amixer
Server-1: PipeWire v: 0.3.69 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
port: N/A bus-ID: 0000:03:00.0 chip-ID: 8086:15f3 class-ID: 0200
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Dynex Bluetooth 4.0 Adapter [Broadcom 1.12 BCM20702A0] type: USB
driver: btusb v: 0.8 bus-ID: 1-11:8 chip-ID: 19ff:0239 class-ID: fe01
serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
RAID:
Hardware-1: Intel Device driver: intel_nvme_remap v: N/A port: 4020
bus-ID: 0000:00:17.0 chip-ID: 8086:43d6 rev: N/A class-ID: 0104
Drives:
Local Storage: total: 2.76 TiB used: 504.69 GiB (17.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B type: SSD
serial: <filter> rev: 3B2QGXA7 temp: 35.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1B6Q scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Walgreen model: Infinitive
size: 28.65 GiB block-size: physical: 512 B logical: 512 B type: N/A
serial: <filter> rev: 1.00 scheme: GPT
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 361.43 GiB (19.4%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 612 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 361.43 GiB (19.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 361.43 GiB (19.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 361.43 GiB (19.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.2 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 32.0 C mobo: N/A gpu: amdgpu temp: 32.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 695
Info:
Processes: 396 Uptime: 9m wakeups: 3 Memory: 31.2 GiB used: 5.29 GiB (17.0%)
Init: systemd v: 253 default: graphical tool: systemctl Compilers:
gcc: 12.2.1 Packages: pm: pacman pkgs: 1889 libs: 524
tools: octopi,pamac,paru pm: flatpak pkgs: 0 Shell: fish v: 3.6.1
running-in: konsole inxi: 3.3.26
Garuda (2.6.16-1):
System install date: 2022-08-02
Last full system update: 2023-04-16 ↻
Is partially upgraded: No
Relevant software: snapper NetworkManager mkinitcpio nvidia-dkms
Windows dual boot: No/Undetected
Failed units: