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

Re: Upgrade problems?



On Wed, Jul 21, 2021 at 12:04:13PM -0400, Frank McCormick wrote:
> frank@fedora ~$ stat /
>   File: /
>   Size: 4096            Blocks: 8          IO Block: 4096 directory
> Device: 806h/2054d      Inode: 2           Links: 18
> Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: ( 1000/ frank)
> Context: system_u:object_r:root_t:s0
> Access: 2021-07-21 10:22:56.572440309 -0400
> Modify: 2021-06-26 15:48:58.771330459 -0400
> Change: 2021-06-27 10:10:28.333447227 -0400
> Birth: 2021-06-11 13:38:48.000000000 -0400
> 
> Looks like owned by root but access by frank ?
> 
> Will chown work ?

Your hostname is "fedora"?  Um.  Skipping that for now....

Yes, chown would work, although chgrp would be the more "natural" pick.

Either   chown 0:0 /   or   chgrp 0 /

While you're poking around in there, the permissions are also different
from what one would normally expect on Debian.  chmod 755 /

Then again, if this isn't actually a Debian host, the 555 permissions
on the root directory might be normal.


Reply to: