New user created - missing permissions?

Hello to you,
I would like to give Manjaro Cinnamon to my neighbor. I added this as a user and deleted myself. I selected an admin account via the manjaro settings and assigned the same groups that I had. Still, he doesn’t seem to have the right rights. What can I do about that?

Here when entering “pamac update”

Preparing...
Synchronisiere Paketdatenbanken...
cp: preserving times for '/var/tmp/pamac/dbs/sync': Operation not permitted     
chmod: changing permissions of '/var/tmp/pamac/dbs/sync': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync/refresh_timestamp': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync/extra.files': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync/packages-meta-ext-v1.json.gz': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync/multilib.db': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync/mhwd.db': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync/core.db': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync/core.files': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync/extra.db': Operation not permitted
chmod: changing permissions of '/var/tmp/pamac/dbs/sync/multilib.files': Operation not permitted

It looks like you used pamac with sudo ?

:warning: Do not use sudo with pamac! :warning:

:information_source: It is generally good practice to only use sudo when required. :information_source:

You should be able to do:

sudo chown -R $USER:$USER /var/tmp/pamac

To regain ownership.

I quickly installed pamac-cli to check the default permissions and its 777, so if for whatever reason you need to there is this as well:

sudo chmod -R 777 /var/tmp/pamac
3 Likes

That worked! Thank you very much! :pray:
I didn’t use pamac with sudo and only enter the password when requested in the terminal.

Ah, then I might assume its an ongoing issue with pamac.

I dont use pamac … so its not something I run into … but given some of the reports, I might even believe it simply becomes owned by the first user making no consideration for other users.

you need to add that user to the “wheel” group

that is the group with “admin” privileges …

To complete it again: I also assigned the “Wheel” group. Another problem occurred that obviously the keyboard no longer worked through the user change. Suddenly several keys had different functions and I couldn’t do anything about it. As a result, I reinstalled the operating system, here XFCE, and everything has now worked.
Thank you again for your information and help, which I always like to accept and check.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.