Mailinglist Archive: opensuse (2912 mails)

< Previous Next >
Re: [SLE] su: cannot set groups: Operation not permitted, I blew it
  • From: Sunny <sloncho@xxxxxxxxx>
  • Date: Wed, 23 Feb 2005 17:29:48 -0600
  • Message-id: <e7eeb23050223152946667e57@xxxxxxxxxxxxxx>
On Wed, 23 Feb 2005 15:08:34 -0800, Patrick B. O'Brien
<pobrien@xxxxxxxxxxx> wrote:
> I meant to change permissions on a directory called /installroot but I
> change the permissions on the /etc directory to a user which is not
> root.
>
> Now, when I "su -" I get the fallowing.
>
> su: cannot set groups: Operation not permitted
>
> gtorres@nvlnxt23:/etc> chown root passwd
>
> chown: changing ownership of `passwd': Operation not permitted
>
> I have it all backed up but if I try to overwrite /etc I don't think it
> will go. Any thoughts and thank you!
>
>

Boot with knoppix. Or Damn Small Linux. Mount the partition and change
the owner.

Sunny

--
Get Firefox
http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85

< Previous Next >
References