Code: Select all
root@rava:/# ls -od /. /..
drwxrwxrwt 90 root 380 2023-09-08 13:51 /.
drwxrwxrwt 90 root 380 2023-09-08 13:51 /..
The settings of / should be like this:
Code: Select all
guest@rava:/mnt/live/memory/images$ ls -od 000-kernel.xzm/.
drwxr-xr-x 5 root 61 2020-04-04 22:28 000-kernel.xzm/.
When testing all my modules via ls and grep it seems not to be caused by any of my loaded modules (that was my first guess):
Code: Select all
guest@rava:/mnt/live/memory/images$ ls -od */. /.|grep rwxrwxrw
drwxrwxrwt 90 root 380 2023-09-08 13:51 /.
I presume, for now the most easy way it to have
Code: Select all
ls -od /.
But when its 755 at the start of rc.local and 755 at the end of rc.local … then I have no clue which program causes the issue and how to locate it.
I also would not know out of the box how to locate the script or program that causes the messed up permission when at the beginning of rc.local the setting is already 777.
For now I will put this debugging code at the start of /etc/rc.d/rc.local
Code: Select all
echo 'rc.local ▓▓ start: DEBUG ▓▓ - ls -od /. - ▓▓ continue with Return or Enter ▓▓'
ls -od /.
read
Code: Select all
echo 'rc.local ▓▓ end: DEBUG ▓▓ - ls -od /. - ▓▓ continue with Return or Enter ▓▓'
ls -od /.
read