How do I open and edit a usr/lib/udev file in 20.04 without root?
How do I open and edit a usr/lib/udev
file in Ubuntu 20.04 without root?
Solution 1:
You need root privileges to edit any files in that path.
You can use sudo
before a command to obtain root privileges for a particular action.
For example:
sudo nano /path/to/file
This will open the file in the nano text editor as if you were root.
If you do not have sudo/root privileges, you will not be able to edit the file. Contact your system administrator and describe to them why you need to edit these files.