Re: owner of /etc /boot and / (related to can't su thread???)

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

 



Am Fr, den 08.07.2005 schrieb Shawn um 8:13:

> quite recently I mistakenly did something like chown -R jr /
> 
> and got a few error messages before I could kill the process.
> 
> Anyway, does this look odd for ownership
> 
> [jr@bb497-175 root]$ ls -lat / | grep jr
> drwxr-xr-x   81 jr root 12288 Jul  8 14:43 etc
> drwxr-xr-x   23 jr root  4096 Jul  8 14:39 .
> drwxr-xr-x   23 jr root  4096 Jul  8 14:39 ..
> drwxr-xr-x    4 jr root  1024 Jul  8 08:28 boot
> 
> I wonder if etc and boot shouldn't properly be owned by root?

Sure, they have to be root owned.

> Dare I try changing them back?

If you did really execute above command "chown -R jr /", then ownership
change happened recursive so that too the owner below those dirs
changed. You should use "find -uid N" to find out. All /boot content is
root owned, nearly everything below /etc should so too. 

> Shawn

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 09:44:40 up 12 days, 16:36, load average: 2.87, 2.20, 1.09 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux