aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/Makefile
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-01-16 11:03:30 +0000
committerRon Yorston <rmy@pobox.com>2023-01-16 11:03:30 +0000
commit88965fe20a26e17247e6ffc10692fe202d77f1fa (patch)
tree16109de1bf8fb14d04c3c5f4176ec20c77ea7f6d /scripts/basic/Makefile
parent857b0732b9268c049e94bb3220fbb078f662ab02 (diff)
downloadbusybox-w32-88965fe20a26e17247e6ffc10692fe202d77f1fa.tar.gz
busybox-w32-88965fe20a26e17247e6ffc10692fe202d77f1fa.tar.bz2
busybox-w32-88965fe20a26e17247e6ffc10692fe202d77f1fa.zip
win32: use ACL check to clarify write permission
On Microsoft Windows a user's home directory doesn't belong to them: it actually belongs to the 'system' user. stat(2) was only using ownership to determine write permissions, so it seemed that the user was unable to write to their own home directory. Use a call to AccessCheck() to determine if files can be accessed due to an entry in their ACL. User home directories and a few other files (e.g. C:/Users/Public) now have the correct write permission. This feature is enabled by FEATURE_EXTRA_FILE_DATA. Costs 220-256 bytes. (GitHub issue #280)
Diffstat (limited to 'scripts/basic/Makefile')
0 files changed, 0 insertions, 0 deletions