[3248] in RedHat Linux List

home help back first fref pref prev next nref lref last post

re: chown as root

daemon@ATHENA.MIT.EDU (Jason Benderly)
Thu Nov 7 18:56:10 1996

Date: Thu, 7 Nov 1996 17:53:07 -0500 (EST)
From: Jason Benderly <jbenderl@painewebber.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Hi All,

Jason Benderly wrote:
.....
> I moved some directories that were owned by root to a user account.
> I then wanted to change the ownership of those directories to the user
account.
> I did not realize what directoy I was in when I issued the chown command.
> Now,  the user account owns everything on my system.  Imagine going into
> /sbin and seeing that everything is owned by user account joebloe!!

Vlad responded:

>I don't see any other way but to change in each
>directory and issue:
>
>chown root *
>chgrp root *
>
>for hidden files:
>
>chgrp root .*
>chown root .*
>
>A bash script can speed up the process but I am not
>sure how I'd handle that.

Vlad,

Thank you very much for replying to me.  I have no problem changing all
the stuff to root.  But should everything be changed to root?  Shouldn't
some files belong to bin,  or daemon,  or ...  Since I don't know the original
owners I do not know what should be what...

Any suggestions?

Thanks

Jason


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post