Hello all,
I have a really basic question; I really messed up my box.
I was doing a reinstall on an old box after a drive failure. I restored
/home but one of the UIDs were created differently so I needed to chown
their directory, including all the hidden files in their ~/.
Without thinking,
Douglas A. Tutty wrote:
I know that I could have used find to look for all files owned by the
old UID, plunked it through xargs and chowned them that way, but is
there a way, as root, to chown directly the hidden files without
chowning the whole box?
The simplest way would be to recursively
Douglas A. Tutty wrote:
Hello all,
I have a really basic question; I really messed up my box.
I was doing a reinstall on an old box after a drive failure. I restored
/home but one of the UIDs were created differently so I needed to chown
their directory, including all the hidden files in
Douglas A. Tutty wrote:
[...]
I know that I could have used find to look for all files owned by the
old UID, plunked it through xargs and chowned them that way, but is
there a way, as root, to chown directly the hidden files without
chowning the whole box?
Just for my future reference?
I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Douglas A. Tutty wrote:
I know that I could have used find to look for all files owned by the
old UID, plunked it through xargs and chowned them that way, but is
there a way, as root, to chown directly the hidden files without
chowning the whole
Chris Jackson wrote:
Douglas A. Tutty wrote:
I know that I could have used find to look for all files owned by the
old UID, plunked it through xargs and chowned them that way, but is
there a way, as root, to chown directly the hidden files without
chowning the whole box?
The simplest
Johannes Wiedersich wrote:
Douglas A. Tutty wrote:
I know that I could have used find to look for all files owned by the
old UID, plunked it through xargs and chowned them that way, but is
there a way, as root, to chown directly the hidden files without
chowning the whole box?
Instead of
Chris Burkhardt wrote:
chown chrisj.chrisj ~chrisj
That won't follow the .. link.
Shouldn't that include the recursive flag?
chown -R chrisj.chrisj ~chrisj
Apologies, yes it should.
--
Chris Jackson
Shadowcat Systems Ltd.
--
To UNSUBSCRIBE, email to
8 matches
Mail list logo