JuliaLang / libuv

Cross-platform asynchronous I/O
http://libuv.org/
MIT License
9 stars 14 forks source link

[win,fs]: Give `DELETE` writes with the `w` permission #17

Closed staticfloat closed 3 years ago

staticfloat commented 3 years ago

Windows has a default permissions inheritance scheme setup whereby files/folders created in the user's home directory are (by default) deletable by that same user. Creating folders in the root C: do not inherit those same permissions, and as such may inadvertently have their delete permissions stripped by a chmod().

@musm confirms that this fixes the recently-observed windows permissions issues.

vtjnash commented 3 years ago

Seems to make sense