All my desktop shortcuts are broken and other problems

Hello, if I create a desktop shortcut it looks like this

Bildschirmfoto vom 2024-02-03 16-48-58

and I cant use it.

If I then press on it, this error message comes

This happened after I put this command in the console
sudo chmod -R a+rw /dev/sde1
I tryed to make it possible to use my usb stick.
But now I have this problem and my usb stick still dont work.
Also, none of my Steam games works anymore.
Also, I have now no Internet connection anymore.
Also, nothing happens if I press restart or shut down.
please help.

this is the usb stick:



Yes, the permissions are changed for your Zorin OS build. What drive/partition is Zorin OS installed on?


Its on this partition (Lexar SSD(M.2) Partition 4)

You might try

sudo chown -R $USER:$USER /dev/nvme0n1

I get the following error message
sudo: Fehler in /etc/sudo.conf, Zeile 0 beim Laden des Moduls »sudoers_policy«
sudo: /usr/libexec/sudo/sudoers.so darf nur vom Besitzer beschreibbar sein
sudo: Schwerwiegender Fehler, Plugins konnten nicht geladen werden

sudo: Error in /etc/sudo.conf, line 0, loading module "sudoers_policy"
sudo: /usr/libexec/sudo/sudoers.so must only be writable by the owner
sudo: Fatal error, plugins could not be loaded

This is odd... Your command specified the sde device. Did you run any other commands at that time?

no I startet the system fresh and then run the command

Ah, if this is the case, I would definitely go for a fresh reinstall, then.
Without knowing more, it is very hard to say what went wrong here in order to repair it. The /dev/sde is a separate drive from /dev/nvme01 and setting ownership on it should not have changed the ownership of /dev/nvme01

Nor can I conceive of any kind of bug or glitch that could have done so.
If the system was a fresh install prior to running that command, a new fresh install would be your safest bet.

I think I expressed myself incorrectly. I meant that I just turned on the computer. I installed the operating system a long time ago.

In that case, let's try the script helpfully posted by this user here to properly reset all ownership and permissions:

Even though the thread is from '17, the values and permissions nor file structure has changed since then.

Ok, I followed all steps and my desktop shortcuts now work.

But the restart and shut down button in the OS still dont work. After I press shut down It takes around 30 seconds to 1 minute and then this screen comes. Then nothing more happens.

What about these others? Are they resolved?

In terminal, please run (replacing $USER with your actual username):

groups $USER

id $USER

If your username is not listed in sudoers, you can add it with (again, change $USER to your actual username in the command):

sudo usermod -aG sudo $USER

they are solved

when I run these commands I get the following output

should I also run "sudo usermod -aG sudo $USER"?
Because I dont find sudoers.

There is no need; it shows your as added to sudoers in the lists above.

Let's go ahead and try (For Core Users only):

sudo apt install --reinstall zorin-os-desktop

to see if that reinstalls the menu button commands with your permissions and ownership now reset.

Reboot (By whatever means works) after the command above finishes prior to testing the restart/shutdown buttons.

I have Pro, can I also run the command?

Good catch. Your profile says you are on Core.

The command used to be premium-desktop but that may have been changed to pro-desktop... I would need to fire up a copy of Zorin OS Pro to double check this and it may be a bit before I can do that. You can harmlessly try them (All that will happen is it will say package not found) or perhaps another Pro User migth chime in sooner.

sudo apt install --reinstall zorin-os-desktop-pro

I get the following error message:
sudo: Fehler in /etc/sudo.conf, Zeile 0 beim Laden des Moduls »sudoers_policy«
sudo: /usr/libexec/sudo/sudoers.so darf nur vom Besitzer beschreibbar sein
sudo: Schwerwiegender Fehler, Plugins konnten nicht geladen werden

sudo: Error in /etc/sudo.conf, line 0, loading module "sudoers_policy"
sudo: /usr/libexec/sudo/sudoers.so must only be writable by the owner
sudo: Fatal error, plugins could not be loaded

Elevate to root

sudo -i

Ensure this successfully elevates. If it does, run

chmod 644 /usr/lib/sudo/sudoers.so

chown -R root /usr/lib/sud

I get the same error message again

If ownership was changed to your user for those, let's try running just as they are above without sudo...