Uploading using rapberry pi 4

hello, i am trying to upload a sketch to my Arduino Uno Wifi using my Raspberry Pi4 and im gettin this error
Using library SPI at version 1.0 in folder: /home/pi/.arduino15/packages/arduino/hardware/megaavr/1.8.6/libraries/SPI
Using library WiFiNINA at version 1.8.0 in folder: /home/pi/Arduino/libraries/WiFiNINA
Using library Blynk at version 0.6.1 in folder: /home/pi/Arduino/libraries/Blynk
Using library DHT_sensor_library at version 1.4.1 in folder: /home/pi/Arduino/libraries/DHT_sensor_library
Using library Adafruit_Unified_Sensor at version 1.1.4 in folder: /home/pi/Arduino/libraries/Adafruit_Unified_Sensor
/home/pi/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-size -A /tmp/arduino_build_53844/tempsensor.ino.elf
Sketch uses 21958 bytes (45%) of program storage space. Maximum is 48640 bytes.
Global variables use 810 bytes (13%) of dynamic memory, leaving 5334 bytes for local variables. Maximum is 6144 bytes.
/home/pi/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/home/pi/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega4809 -cxplainedmini_updi -Pusb -b115200 -e -D -Uflash:w:/tmp/arduino_build_53844/tempsensor.ino.hex:i -Ufuse2:w:0x01:m -Ufuse5:w:0xC9:m -Ufuse8:w:0x02:m -Uflash:w:/home/pi/.arduino15/packages/arduino/hardware/megaavr/1.8.6/bootloaders/atmega4809_uart_bl.hex:i

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/home/pi/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/home/pi/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : usb
Using Programmer : xplainedmini_updi
Overriding Baud Rate : 115200
avrdude: usbdev_open(): cannot open device: Permission denied
avrdude: jtag3_open_common(): Did not find any device matching VID 0x03eb and PID list: 0x2145

avrdude done. Thank you.

An error occurred while uploading the sketch

Try running the command from the Getting Started guide:

but note that the path in the command is outdated, you need to update the version part of the path according to which version of Arduino megaAVR Boards you have installed (I can see from your post that it's 1.8.6):

sudo ~/.arduino15/packages/arduino/hardware/megaavr/1.8.6/scripts/create_dfu_udev_rule

Just to verify, do you have an Arduino Uno WiFi Rev2 board, or the older Arduino Uno WiFi?