]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fallocate: create mode 0666, that's what umask is for
authorKarel Zak <kzak@redhat.com>
Wed, 7 Jan 2015 08:57:55 +0000 (09:57 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 7 Jan 2015 08:57:55 +0000 (09:57 +0100)
commit185aa9e5b8c809d4ee73d56256632ed0f739d220
tree7c8aa0a123da323530e06404ab3ae7c4462973e3
parentf43fb23a2f80077248753d598be5af2dae8a5a40
fallocate: create mode 0666, that's what umask is for

User's umask will typically mask the mode down to 0664 or 0644.

Reported-by: Peter Cordes <peter@cordes.ca>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fallocate.c