diff options
| author | Ron Yorston <rmy@pobox.com> | 2023-01-11 12:36:16 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2023-01-11 12:36:16 +0000 |
| commit | 857b0732b9268c049e94bb3220fbb078f662ab02 (patch) | |
| tree | c0df8adb377476dba441b251b31e725211f7df75 /scripts/basic/docproc.c | |
| parent | 4ea671b358ec15331a961be092a777c8a82d1642 (diff) | |
| download | busybox-w32-857b0732b9268c049e94bb3220fbb078f662ab02.tar.gz busybox-w32-857b0732b9268c049e94bb3220fbb078f662ab02.tar.bz2 busybox-w32-857b0732b9268c049e94bb3220fbb078f662ab02.zip | |
win32: fix permissions of read-only directory
Commit 15fcbd19c8 (win32: special case for devices files in stat(2))
caused write permissions on directories to respect the read-only
attribute. This is incorrect: the read-only attribute doesn't
apply to directories in the same way as to normal files.
Give directories write permission unconditionally, as before, though
respecting umask.
(GitHub issue #280)
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
