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

Etienne Buira etienne.buira.lists
Wed Sep 22 23:55:12 CEST 2010


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

I don't know much about install's portability, but the GNU coreutils'
one creates parent directories with perms 755, if all other installs
ffmpeg cares about behaves the same, it would be simpler to drop the
forementioned mkdirs.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_umask_the_mkdirs.diff
Type: text/x-diff
Size: 1900 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100922/7c5b64cd/attachment.diff>

More information about the ffmpeg-devel mailing list