Re: [PATCHES] live-initramfs: fix for root directory permissions and grep line possbly returning more than one line
Luigi Capriotti wrote:
> Daniel Baumann wrote:
>> Luigi Capriotti wrote:
>>> fixing relaxed permissions of /
>>> in the live filesystem and
>> why is that needed?
> because without chmoddin $rootmnt, / on the live system is writable for
> regular users.
>>> possible invalid results from
>>> function where_is_mounted.
>> how's that possible? i though devices to mountpoints are bijective (in
>> the initramfs stage).
> I had two results from the grep in my tests, hence the script was
> failing with such an unexpected result.
care to explain your test? i'm still wondering for the case where it's
possible. in the meanwhile, i've applied it.
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist