System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Accidental chown +R [user]:[group] /usr

SOLVED
Go to solution
Peter Eugen
Occasional Visitor

Accidental chown +R [user]:[group] /usr

Hello.

Long story short:
I was adding a jailed ftp user on a clustered system and while firmly believing I was in the correct home directory of the user, I tried to change the ownership of usr.
Unfortunately I was in / and you can imagine the ice cold chill going up my spine as I realized what was actually happenening.
I did managed to change back the permissions of the files (the cluster came in handy for comparison) but I still don't feel like everything is OK.
My question would be if there is any other way of recovering the permissions without a full /usr restore.
It's a HP-UX 11.11 OS if that helps.

Thanks in advance,

Eugen
4 REPLIES
Matti_Kurkela
Honored Contributor
Solution

Re: Accidental chown +R [user]:[group] /usr

Run "swverify".

MK
MK
Peter Eugen
Occasional Visitor

Re: Accidental chown +R [user]:[group] /usr

Right after posting I found something helpful here:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1170878

Thanks for the quick response MK.
Peter Eugen
Occasional Visitor

Re: Accidental chown +R [user]:[group] /usr

As stated above.
Steven Schweda
Honored Contributor

Re: Accidental chown +R [user]:[group] /usr

> It's a HP-UX 11.11 OS if that helps.

Posting an HP-UX question in an HP-UX forum
instead of in this Linux forum might help.

http://forums.itrc.hp.com/service/forums/familyhome.do?familyId=117