[arch-releng] [PATCH] Mount tmpfs filesystems with mode=0755

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Tue Jul 6 18:01:23 EDT 2010


  On 07/06/2010 03:02 PM, Gerardo Exequiel Pozzi wrote:
> --- El mar 6-jul-10, Dieter Plaetinck<dieter at plaetinck.be>  escribió:
>
>> De: Dieter Plaetinck<dieter at plaetinck.be>
>> Asunto: Re: [arch-releng] [PATCH] Mount tmpfs filesystems with mode=0755
>> Para: arch-releng at archlinux.org
>> Fecha: martes, 6 de julio de 2010, 4:09
>> On Mon,  5 Jul 2010 19:46:09
>> -0300
>> Gerardo Exequiel Pozzi<vmlinuz386 at yahoo.com.ar>
>> wrote:
>>
>>> Signed-off-by: Gerardo Exequiel Pozzi<vmlinuz386 at yahoo.com.ar>
>>> ---
>>>    archiso/hooks/archiso |    4 ++--
>>>    1 files changed, 2 insertions(+), 2
>>
>> what does this fix? and /tmp has the sticky bit set,
>> right?
>> Dieter
>>
> One fix perm on / directory that is 1755 currently, the other fix a directory that is unreacheable outside initramfs (is not needed but fixed anyway).
Oops, I did not answer your question at all: Yes /tmp is untouched (/tmp 
has 1755 made by filesystem pkg).
/tmpfs (on initramfs is the writeable branch of union mount)
/tmpfs.sqfs is where *.sqfs are copied when copytoram=y is used.

I detected this accidentaly while working with my custom live cd, I 
wrote to / some files as user :P

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1




More information about the arch-releng mailing list