René's URL Explorer Experiment


Title: Use 0700 permissions for cache and extractor directories by swissspidy · Pull Request #6373 · wp-cli/wp-cli · GitHub

Open Graph Title: Use 0700 permissions for cache and extractor directories by swissspidy · Pull Request #6373 · wp-cli/wp-cli

X Title: Use 0700 permissions for cache and extractor directories by swissspidy · Pull Request #6373 · wp-cli/wp-cli

Description: ⚙️ WP-CLI framework. Contribute to wp-cli/wp-cli development by creating an account on GitHub.

Open Graph Description: Summary by CodeRabbit Bug Fixes Improved security by creating newly generated extraction and cache directories with restricted 0700 permissions. Tests Added coverage to verify directory crea...

X Description: Summary by CodeRabbit Bug Fixes Improved security by creating newly generated extraction and cache directories with restricted 0700 permissions. Tests Added coverage to verify directory crea...

Opengraph URL: https://github.com/wp-cli/wp-cli/pull/6373

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:909733ca-c91f-a23f-d72b-fd3eaa2f5a60
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC888:2668B6:A0CC0:DDD35:6AFBA6F2
html-safe-nonce07a1b1559d011d46d2fb3131431e48b4cd01b60a97288279791417d60f3b770f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODg4OjI2NjhCNjpBMENDMDpEREQzNTo2QUZCQTZGMiIsInZpc2l0b3JfaWQiOiI0MzQ3NjUwNDk5NDkzMDA0NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac363d23f2dd5eb2591bdd2b829205c79c9ec49eda74142c4b6b9b063ab51b4981
hovercard-subject-tagpull_request:4193463168
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/wp-cli/6373/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1bdc46032f693d7ba4dc9bee58d8e4bdc94bf42269caea7e4f914429ece15577/wp-cli/wp-cli/pull/6373
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1bdc46032f693d7ba4dc9bee58d8e4bdc94bf42269caea7e4f914429ece15577/wp-cli/wp-cli/pull/6373
og:image:altSummary by CodeRabbit Bug Fixes Improved security by creating newly generated extraction and cache directories with restricted 0700 permissions. Tests Added coverage to verify directory crea...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameswissspidy
hostnamegithub.com
expected-hostnamegithub.com
None03e5090f0cea887cafa036e3af34d7c668d83b5e9e9e03df72a90efb49b69cdf
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/wp-cli git https://github.com/wp-cli/wp-cli.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id2360755
octolytics-dimension-repository_nwowp-cli/wp-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2360755
octolytics-dimension-repository_network_root_nwowp-cli/wp-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release41f00295b9a35dca977890ab83b22788ab211dc8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/wp-cli/wp-cli/pull/6373#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6373
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6373
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=wp-cli%2Fwp-cli
Reloadhttps://github.com/wp-cli/wp-cli/pull/6373
Reloadhttps://github.com/wp-cli/wp-cli/pull/6373
Reloadhttps://github.com/wp-cli/wp-cli/pull/6373
wp-clihttps://github.com/wp-cli
wp-clihttps://github.com/wp-cli/wp-cli
Codehttps://github.com/wp-cli/wp-cli
Issues19 (19)https://github.com/wp-cli/wp-cli/issues
Pull requests12 (12)https://github.com/wp-cli/wp-cli/pulls
Discussionshttps://github.com/wp-cli/wp-cli/discussions
Actionshttps://github.com/wp-cli/wp-cli/actions
Wikihttps://github.com/wp-cli/wp-cli/wiki
Security and quality1 (1)https://github.com/wp-cli/wp-cli/security
Insightshttps://github.com/wp-cli/wp-cli/pulse
https://github.com/wp-cli/wp-cli
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/wp-cli/tree/main
fix/permissionshttps://github.com/wp-cli/wp-cli/tree/fix/permissions
Conversationhttps://github.com/wp-cli/wp-cli/pull/6373
Commits1 (1)https://github.com/wp-cli/wp-cli/pull/6373/commits
Checkshttps://github.com/wp-cli/wp-cli/pull/6373/checks
Files changedhttps://github.com/wp-cli/wp-cli/pull/6373/files
Use 0700 permissions for cache and extractor directorieshttps://github.com/wp-cli/wp-cli/pull/6373#top
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/wp-cli/tree/main
fix/permissionshttps://github.com/wp-cli/wp-cli/tree/fix/permissions
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6373#issue-5048821775
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
https://github.com/swissspidy
Use 0700 permissions for cache and extractor directorieshttps://github.com/wp-cli/wp-cli/pull/6373/commits/80aa29d586251979c1323b9d8d0cb7f241a3a838
80aa29dhttps://github.com/wp-cli/wp-cli/pull/6373/commits/80aa29d586251979c1323b9d8d0cb7f241a3a838
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
3.0.0https://github.com/wp-cli/wp-cli/milestone/70
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6373#event-28881731890
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
August 3, 2026 10:29https://github.com/wp-cli/wp-cli/pull/6373#event-28881732387
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
code ownerhttps://github.com/wp-cli/wp-cli/blob/c6badee9d7aea6baccb6476f1f5239f3a38897a6/.github/CODEOWNERS#L1
August 3, 2026 10:29https://github.com/wp-cli/wp-cli/pull/6373#event-28881732402
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
scope:framework https://github.com/wp-cli/wp-cli/issues?q=state%3Aopen%20label%3Ascope%3Aframework
internal-api:wp-cli-file-cache https://github.com/wp-cli/wp-cli/issues?q=state%3Aopen%20label%3Ainternal-api%3Awp-cli-file-cache
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6373#event-28881732812
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6373#issuecomment-5165210264
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
https://app.coderabbit.ai/change-stack/wp-cli/wp-cli/pull/6373?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=wp-cli/wp-cli&utm_content=6373
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
started reviewinghttps://github.com/wp-cli/wp-cli/sessions/bca441ba-9f83-4a3b-930b-8fdb39356c13
swissspidyhttps://github.com/swissspidy
August 3, 2026 10:29https://github.com/wp-cli/wp-cli/pull/6373#event-28881750801
View session https://github.com/wp-cli/wp-cli/sessions/bca441ba-9f83-4a3b-930b-8fdb39356c13
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Aug 3, 2026 https://github.com/wp-cli/wp-cli/pull/6373#pullrequestreview-4843118309
View reviewed changes https://github.com/wp-cli/wp-cli/pull/6373/files/80aa29d586251979c1323b9d8d0cb7f241a3a838
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/wp-cli/wp-cli/pull/6373#pullrequestreview-4843118309
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/wp-cli/wp-cli/new/main?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026 https://github.com/wp-cli/wp-cli/pull/6373#pullrequestreview-4843131306
View reviewed changes https://github.com/wp-cli/wp-cli/pull/6373/files/80aa29d586251979c1323b9d8d0cb7f241a3a838
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/wp-cli/wp-cli/pull/6373#pullrequestreview-4843131306
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
c6badeehttps://github.com/wp-cli/wp-cli/commit/c6badee9d7aea6baccb6476f1f5239f3a38897a6
80aa29dhttps://github.com/wp-cli/wp-cli/commit/80aa29d586251979c1323b9d8d0cb7f241a3a838
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
php/WP_CLI/Extractor.phphttps://github.com/wp-cli/wp-cli/pull/6373/files/80aa29d586251979c1323b9d8d0cb7f241a3a838#diff-ec3f20d0e7b709a018edc0209c7cbe3f430e37121c66a5e0c13083ba9c09be10
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6373#discussion_r3703159219
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://developer.wordpress.org/reference/functions/wp_mkdir_p/https://developer.wordpress.org/reference/functions/wp_mkdir_p/
https://wpsocket.com/wpref/function/wp_mkdir_p/https://wpsocket.com/wpref/function/wp_mkdir_p/
https://docs.w3cub.com/wordpress/functions/wp_mkdir_p.htmlhttps://docs.w3cub.com/wordpress/functions/wp_mkdir_p.html
https://jorijn.com/en/knowledge-base/wordpress/security/wordpress-file-permissions/https://jorijn.com/en/knowledge-base/wordpress/security/wordpress-file-permissions/
https://jetpack.com/resources/wordpress-file-permissions/https://jetpack.com/resources/wordpress-file-permissions/
https://kinsta.com/blog/wordpress-permissions/https://kinsta.com/blog/wordpress-permissions/
https://inspectwp.com/en/knowledge-base/set-file-permissions-wordpress-correctlyhttps://inspectwp.com/en/knowledge-base/set-file-permissions-wordpress-correctly
https://developer.wordpress.org/advanced-administration/server/file-permissions/https://developer.wordpress.org/advanced-administration/server/file-permissions/
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6373#issuecomment-5165635832
Codecovhttps://app.codecov.io/gh/wp-cli/wp-cli/pull/6373?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Let us know!https://github.com/codecov/feedback/issues/255
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
b0058f2https://github.com/wp-cli/wp-cli/commit/b0058f21097e411e1474a38f31001c8e9cc61543
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6373#event-28889743557
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
August 3, 2026 13:19https://github.com/wp-cli/wp-cli/pull/6373#event-28889745867
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026 https://github.com/wp-cli/wp-cli/pull/6373#ref-pullrequest-5050937997
Utils: Add make_temp_file() and make_temp_dir() helper functions #6374 https://github.com/wp-cli/wp-cli/pull/6374
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Aug 4, 2026 https://github.com/wp-cli/wp-cli/pull/6373#ref-pullrequest-5058268838
Use 0755 instead of 0700 for cache and extraction directories #6378 https://github.com/wp-cli/wp-cli/pull/6378
https://github.co/hiddenchars
https://github.com/wp-cli/wp-cli/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6373
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/wp-cli/wp-cli/pull/6373/files/80aa29d586251979c1323b9d8d0cb7f241a3a838
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/wp-cli/wp-cli/pull/6373/files/80aa29d586251979c1323b9d8d0cb7f241a3a838
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
internal-api:wp-cli-file-cache https://github.com/wp-cli/wp-cli/issues?q=state%3Aopen%20label%3Ainternal-api%3Awp-cli-file-cache
scope:framework https://github.com/wp-cli/wp-cli/issues?q=state%3Aopen%20label%3Ascope%3Aframework
3.0.0 https://github.com/wp-cli/wp-cli/milestone/70
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6373
https://github.com/swissspidy
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.