I am a Bullseye user,
i was following a guide to start developing with Ionic and the official doc, to install the framework cli globally, has suggested me to run this command
Code: Select all
$ sudo chown -R $(whoami) /usr/local/{lib/node_modules,bin,share}
$ sudo chown -R $(whoami) ~/.npm ~/.npmrc
Unfortunately by mistake i ran instead
Code: Select all
$ sudo chown -R $(whoami) /usr/{lib/node_modules,bin,share}
$ sudo chown -R $(whoami) ~/.npm ~/.npmrc
Code: Select all
sudo
Code: Select all
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Code: Select all
su
So i was trying to run the Recovery Mode but my Grub Timeout is set to 0 and i cannot find a way to get into it.
I also tried to run a shell from the usb installlation iso, and mounting my dev with the command
Code: Select all
mount /dev/sda1 /mnt
Any help?
Thanks
maidastach