[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: chown -R wierd under RH9



I have never used your format before, but it sure makes sense.  I will try
that from now on.  Thanks for the help.

bdavis


----- Original Message -----
From: "Robert Adkins" <radkins impelind com>
To: "Red Hat - General" <redhat-list redhat com>
Sent: Thursday, May 08, 2003 3:40 PM
Subject: Re: chown -R wierd under RH9


> Goodness, that is a scary result...
>
> I would have to recommend against using a wildcard character all by
> itself when running such a command. It is likely that using that
> wildcard all alone smacked your system.
>
> It would have been more correct to do the following...
>
> chmod -R root:service tools
>
> or even...
>
> chmod -R root:service to*
>
> While 'sitting' in a directory right above the 'tools' directory. If,
> in your case, the directory 'tools' was on a '/' location of your
> system, then that is why everything was reset to being 'owned' by
> 'service'.
>
> Wish you luck in getting it back up into working order.
>
> Regards,
> Robert Adkins
> IT Manger/Buyer
> Impel Industries, Inc.
>
> On Thu, 2003-05-08 at 15:11, Billy Davis wrote:
> > Could be, but I don't think so.  The old directory was on an RH8 server
and
> > I did not have problems with chown -R on that system.  Unfortunately,
there
> > are thousands of files and directorys in 'tools', so it will take a
while to
> > see.
> >
> > bdavis
> >
> >
> > ----- Original Message -----
> > From: "Edward Croft" <ecroft openratings com>
> > To: <redhat-list redhat com>
> > Sent: Thursday, May 08, 2003 3:04 PM
> > Subject: Re: chown -R wierd under RH9
> >
> >
> > > Just curious, could there possibly be a link in the subdirectory
> > > pointing to a top directory?
> > >
> > > On Thu, 2003-05-08 at 14:53, Billy Davis wrote:
> > > > We just installed a fresh RH9 Server.   After loading an existing
> > directory
> > > > from another server, I decided to change the owner.  I change to
> > > > /home/accounting/tools and entered 'chown -R service *'.  I then
noticed
> > > > that not only did every file both in and below the tools directory
have
> > the
> > > > new owner (which is what I expected), but so did EVERY file and
> > subdirectory
> > > > ABOVE the ' tools' directory.  This has caused a mess.   I thought
that
> > > > 'recursive' meant 'everything in the current directory and below'.
Has
> > > > something changed in RH9 with chown, or what????  Is there an easy
fix??
> > > >
> > > > Thanks,
> > > > bdavis
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]