On 7/21/21 12:24 PM, Greg Wooledge wrote:
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.
Good grief!
This comment stirred my memory and I realized I had rebooted into Fedora
34 AFTER I had updated Debian Bullseye.
>Your hostname is "fedora"? Um. Skipping that for now.... >
Nevertheless, I am still pullzed by those errors.
Back in Debian is redid the debug suggestions.
frank@franklin:~$ stat /
File: /
Size: 4096 Blocks: 8 IO Block: 4096
directory
Device: 801h/2049d Inode: 2 Links:18
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2021-07-21 10:28:15.256580076 -0400 Modify: 2021-07-21
10:14:11.300131364 -0400 Change: 2021-07-21 10:20:43.718277098 -0400
Birth: 2020-07-12 12:23:46.000000000 -0400
(sorry about the wrapping)
frank@franklin:~$ ls -ld /
drwxr-xr-x 18 root root 4096 Jul 21 10:14 /
So "/" is owned by root with proper permissions!
What now ??
Sorry folks.
Frank
--
Frank McCormick