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

Alexander Dalloz ad+lists at uni-x.org
Fri Jul 8 07:48:28 UTC 2005


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 at 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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050708/6d3b79b4/attachment-0001.sig>


More information about the fedora-list mailing list