Hello, Here is a small patch to fix dd so that files are created with reasonable permissions of 0644. Without this patch my files were being created -r-S-----T, which is silly. mh -- Martin Hicks Wild Open Source Inc. mort@wildopensource.com 613-266-2296 -------------- next part -------------- A non-text attachment was scrubbed... Name: klibc-dd-fix.diff Type: text/x-patch Size: 933 bytes Desc: not available Url : http://www.zytor.com/pipermail/klibc/attachments/20031119/175de9b8/klibc-dd-fix.bin
Martin Hicks wrote:> Hello, > > Here is a small patch to fix dd so that files are created with > reasonable permissions of 0644. Without this patch my files were being > created -r-S-----T, which is silly. >Typically this should be 0666 and umask should be used to mask any other bits. -hpa
On Wed, 2003-11-19 at 11:40, H. Peter Anvin wrote:> Martin Hicks wrote: > > Hello, > > > > Here is a small patch to fix dd so that files are created with > > reasonable permissions of 0644. Without this patch my files were being > > created -r-S-----T, which is silly. > > > > Typically this should be 0666 and umask should be used to mask any other > bits.Quite right. Fixed patch is attached. mh -- Martin Hicks Wild Open Source Inc. mort@wildopensource.com 613-266-2296 -------------- next part -------------- A non-text attachment was scrubbed... Name: klibc-dd-fix.diff Type: text/x-patch Size: 933 bytes Desc: not available Url : http://www.zytor.com/pipermail/klibc/attachments/20031119/d145d9d1/klibc-dd-fix.bin