[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] truncate: always set mode when opening file to avoid crash
From: Mike Frysinger <vapier () gentoo ! org>
Date: 2016-01-13 18:33:27
Message-ID: 20160113183327.GP4894 () vapier ! lan
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On 04 Jan 2016 15:40, Ari Sundholm wrote:
> + int fd = open(*argv, flags, 0644);
i've used 0666 instead as that is what coreutils used.
the final permission depends on your umask like normal.
-mike
["signature.asc" (application/pgp-signature)]
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic