[arch-releng] [PATCH] Mount tmpfs filesystems with mode=0755
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Fri Jul 9 18:00:41 EDT 2010
On 07/06/2010 04:09 AM, Dieter Plaetinck wrote:
> 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 deletions(-)
>>
>> diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
>> index d979ef4..ae98231 100644
>> --- a/archiso/hooks/archiso
>> +++ b/archiso/hooks/archiso
>> @@ -76,12 +76,12 @@ archiso_mount_handler() {
>> newroot="${1}"
>>
>> msg -n ":: Mounting tmpfs, size=${tmpfs_size}..."
>> - mount -t tmpfs -o "size=${tmpfs_size}" tmpfs /tmpfs
>> + mount -t tmpfs -o "size=${tmpfs_size}",mode=0755 tmpfs /tmpfs
>> msg "done."
>>
>> if [ "${copytoram}" = "y" ]; then
>> msg -n ":: Mounting tmpfs (for squashfs),
>> size=${tmpfs_sqfs_size}..."
>> - mount -t tmpfs -o "size=${tmpfs_sqfs_size}" tmpfs /tmpfs.sqfs
>> + mount -t tmpfs -o "size=${tmpfs_sqfs_size}",mode=0755
>> tmpfs /tmpfs.sqfs msg "done."
>> fi
>>
> what does this fix? and /tmp has the sticky bit set, right?
> Dieter
>
I found another "what fix this" :P
aufs test_add:256:mount[554]: uid/gid/perm /tmpfs/mnt/overlay 0/0/0755,
0/0/01777
you don't see anymore this warning for each squashfs image ;)
--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1
More information about the arch-releng
mailing list