Re: OS File Permission issue (chown -R root.root ../)



Simon wrote:
OK.. So i was in my /root/ directory and put just one too many "."s in
the line... Now i have a lot of files that i own!!

I think the term is "DOH!".

Is there any way to fix these?

Personally I would install a chroot on my system, install in the
chroot all of the packages that I have installed in the root system,
and then compare the ownership of all files between the two. Using
that information I would fix the parent system. When done, remove the
chroot. Here is some reference documentation.

http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-chroot

Bob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Our package system: "Fundamentally Flawed" - A Linux User.
    ... >> and an assumption that the install went well. ... >> and figure out how to fix it manually. ... even linux and bsd) can be improved. ... To unsubscribe, ...
    (freebsd-questions)
  • Re: OS File Permission issue (chown -R root.root ../)
    ... Personally I would install a chroot on my system, ... that information I would fix the parent system. ... You shouldn't have to compare and chown manually... ...
    (Debian-User)
  • Re: moving /var
    ... whatever the command is) in a chroot, when chrooting cuts you off from ... the /dev and /proc filesystems so that none of these commands will run. ... from another unix system and included there is how to install kernels ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: HELP! cant become root
    ... root, without reinstalling the OS? ... How do you fix this? ... base install, use 'dpkg --set-selections', do the other bits to install ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: HELP! cant become root
    ... root, without reinstalling the OS? ... How do you fix this? ... base install, use 'dpkg --set-selections', do the other bits to install ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)