perl5
perl5 copied to clipboard
Set current user as an owner for parent directories
The problem happens in a Docker container with mounted case-sensitive APFS when running `miniperl_top "-I../../lib" -MExtUtils::Command -e 'mkpath' -- ../../lib/auto/lib as
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '../../lib/auto'
Do not have write permissions on '../../lib/auto'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
where ../../lib/auto has root as an owner instead of the current user.
The PR should fix the issue by setting the owner for all created directories.
TODO: fill description here
- This set of changes requires a perldelta entry, and it is included.
- This set of changes requires a perldelta entry, and I need help writing it.
- This set of changes does not require a perldelta entry.
File::Path is maintained upstream on CPAN, so changes must be made there first. Issue tracker: https://rt.cpan.org/Public/Dist/Display.html?Name=File-Path, repository: https://github.com/jkeenan/File-Path
Gotcha, opened a PR on github and sent an email to bug-tracker