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

Mike McCarty mike.mccarty at sbcglobal.net
Fri Jul 8 17:20:17 UTC 2005


Paul Howarth wrote:

> Seems reasonable.
>
> If you're in doubt about what the ownership and permissions of a 
> particular file should be, you could try asking rpm.
>
> e.g. to check /boot, you could use:
>
> $ rpm -qlfv /boot | awk '$9 == "/boot"'
> drwxr-xr-x    2 root    root                0 Aug 12  2004 /boot
>
> (replace both occurrences of /boot in the command line above with the 
> full pathname of any file you wish to check)
>
> Paul.
>
Now THIS is what I call HELP!

Great post!

Mike

-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list