[FFmpeg-devel] umask the mkdirs in install-* targets

Måns Rullgård mans
Thu Sep 23 10:31:27 CEST 2010


Etienne Buira <etienne.buira.lists at free.fr> writes:

> Hi.
>
> I got into trouble when installing ffmpeg having a umask of 0077
> (created directories with perms 700).
>
> One solution is to umask before calling mkdir -p, which gives the patch
> attached.

Rejected.  The user is expected to set a umask suitable for whatever
he is doing.  For all we know, the restrictive mask was intentional,
and relaxing could create a security hole.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list