[rpi4] su: cannot set groups: Operation not permitted

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[rpi4] su: cannot set groups: Operation not permitted

Postby baltaro » Sun May 15, 2022 12:18 pm

Logging in as alarm on my rpi and using su results in the following error: $this->bbcode_second_pass_code('', 'su: cannot set groups: Operation not permitted. ')
Output of ls -l /bin/su:
$this->bbcode_second_pass_code('', '-rwsr-xr-x 1 alarm alarm 63032 Feb 14 15:08 /bin/su')
I have tried to change permissions with chmod u+s /bin/su, but to no avail. Please help!
baltaro
 
Posts: 2
Joined: Sun May 15, 2022 12:11 pm

Re: [rpi4] su: cannot set groups: Operation not permitted

Postby graysky » Sun May 15, 2022 12:40 pm

Your permissions are messed up. That should not be owned by alarm:alarm but by root:root.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [rpi4] su: cannot set groups: Operation not permitted

Postby baltaro » Sun May 15, 2022 12:50 pm

$this->bbcode_second_pass_quote('graysky', 'Y')our permissions are messed up. That should not be owned by alarm:alarm but by root:root.

Any idea how I can fix this?
baltaro
 
Posts: 2
Joined: Sun May 15, 2022 12:11 pm

Re: [rpi4] su: cannot set groups: Operation not permitted

Postby graysky » Sun May 15, 2022 12:57 pm

Backup data on your uSD card and reimage it following the install guide again. Don't follow blogs or youtube advice, use the official Arch ARM instructions and the official Arch ARM image.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 5 guests