[lkml]   [2011]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectWrong (0777) permissions on root filesystem after booting the kernel

Today I've stated, that in my laptop the root filesystem is mounted with
very dangerous 0777 permissions. I've checked my other machines, and
stated that in total 3 machines behave correctly (0755) and 2
mount / with permissions 0777.

Trying to find the cause, I've stated that it is not associated with
initialization scripts, as booting with "init=/bin/bash" also leads to
situation, where in one machine permissions are set to 0777, while in
the another one, they are set to 0755.

The problem is not associated with the initrd, as it appears also when
booting machine with kernel without initrd.

I've investigated settings of the bootloader (grub), but there is
no visible difference between affected and correctly working machines.

What information is used by the kernel to set permissions when mounting
the root filesystem?
How does it depend on particular machine?
TIA & Regards,

 \ /
  Last update: 2011-05-26 20:21    [W:0.045 / U:1.188 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site