René's URL Explorer Experiment


Title: Keep config file permissions by Bludator · Pull Request #161 · mautrix/python · GitHub

Open Graph Title: Keep config file permissions by Bludator · Pull Request #161 · mautrix/python

X Title: Keep config file permissions by Bludator · Pull Request #161 · mautrix/python

Description: The config files are updated by swapping with new temp file, but this cause loss of the permissions information. This PR fixes it by copying the permissions to the new file.

Open Graph Description: The config files are updated by swapping with new temp file, but this cause loss of the permissions information. This PR fixes it by copying the permissions to the new file.

X Description: The config files are updated by swapping with new temp file, but this cause loss of the permissions information. This PR fixes it by copying the permissions to the new file.

Opengraph URL: https://github.com/mautrix/python/pull/161

X: @github

direct link

Domain: github.com

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:66f23fe4-5cb7-c91a-8f9e-b0ba4ab54eaa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id93CC:164760:CF9F:1237B:696A6432
html-safe-nonce12d72c0f67b4762689a01783d6bbe307a0b42e13670baace77e3f1741abf81ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0NDOjE2NDc2MDpDRjlGOjEyMzdCOjY5NkE2NDMyIiwidmlzaXRvcl9pZCI6IjE2MTI0ODAxMTk1NjY3NTYzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2d23de52e9b472fd2395def4fa46d05488813fe5fefcca1f3bbdfb9b05ffacf8
hovercard-subject-tagpull_request:1530607196
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/mautrix/python/161/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bf75933e63135a8d57b4a320685b54d994b825bfa1792932e35618e3afb7b56f/mautrix/python/pull/161
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bf75933e63135a8d57b4a320685b54d994b825bfa1792932e35618e3afb7b56f/mautrix/python/pull/161
og:image:altThe config files are updated by swapping with new temp file, but this cause loss of the permissions information. This PR fixes it by copying the permissions to the new file.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBludator
hostnamegithub.com
expected-hostnamegithub.com
None9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392
turbo-cache-controlno-preview
go-importgithub.com/mautrix/python git https://github.com/mautrix/python.git
octolytics-dimension-user_id88519669
octolytics-dimension-user_loginmautrix
octolytics-dimension-repository_id124447503
octolytics-dimension-repository_nwomautrix/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id124447503
octolytics-dimension-repository_network_root_nwomautrix/python
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
release87cbd411c2982752221b5751d583a515b23bf5fa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/mautrix/python/pull/161#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmautrix%2Fpython%2Fpull%2F161
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmautrix%2Fpython%2Fpull%2F161
Sign up https://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=mautrix%2Fpython
Reloadhttps://github.com/mautrix/python/pull/161
Reloadhttps://github.com/mautrix/python/pull/161
Reloadhttps://github.com/mautrix/python/pull/161
mautrix https://github.com/mautrix
pythonhttps://github.com/mautrix/python
Please reload this pagehttps://github.com/mautrix/python/pull/161
Notifications https://github.com/login?return_to=%2Fmautrix%2Fpython
Fork 81 https://github.com/login?return_to=%2Fmautrix%2Fpython
Star 218 https://github.com/login?return_to=%2Fmautrix%2Fpython
Code https://github.com/mautrix/python
Issues 19 https://github.com/mautrix/python/issues
Pull requests 9 https://github.com/mautrix/python/pulls
Actions https://github.com/mautrix/python/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/mautrix/python/security
Please reload this pagehttps://github.com/mautrix/python/pull/161
Insights https://github.com/mautrix/python/pulse
Code https://github.com/mautrix/python
Issues https://github.com/mautrix/python/issues
Pull requests https://github.com/mautrix/python/pulls
Actions https://github.com/mautrix/python/actions
Security https://github.com/mautrix/python/security
Insights https://github.com/mautrix/python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmautrix%2Fpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmautrix%2Fpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/mautrix/python/pull/161#issue-comment-box
Bludatorhttps://github.com/Bludator
mautrix:masterhttps://github.com/mautrix/python/tree/master
Bludator:masterhttps://github.com/Bludator/mautrix-python/tree/master
Keep config file permissions https://github.com/mautrix/python/pull/161#top
Bludatorhttps://github.com/Bludator
mautrix:masterhttps://github.com/mautrix/python/tree/master
Bludator:masterhttps://github.com/Bludator/mautrix-python/tree/master
Conversation 0 https://github.com/mautrix/python/pull/161
Commits 11 https://github.com/mautrix/python/pull/161/commits
Checks 0 https://github.com/mautrix/python/pull/161/checks
Files changed https://github.com/mautrix/python/pull/161/files
Please reload this pagehttps://github.com/mautrix/python/pull/161
https://github.co/hiddenchars
https://github.com/mautrix/python/pull/{{ revealButtonHref }}
https://github.com/Bludator
Bludatorhttps://github.com/Bludator
Sep 26, 2023https://github.com/mautrix/python/pull/161#issue-1913509905
Please reload this pagehttps://github.com/mautrix/python/pull/161
Bludatorhttps://github.com/Bludator
February 17, 2023 00:16https://github.com/mautrix/python/pull/161#commits-pushed-594b9a5
https://github.com/Bludator
keep permissions of updated confighttps://github.com/mautrix/python/pull/161/commits/594b9a5a0e80f154935ed638a37a201d74455934
594b9a5https://github.com/mautrix/python/pull/161/commits/594b9a5a0e80f154935ed638a37a201d74455934
https://github.com/Bludator
Merge branch 'master' ofhttps://github.com/mautrix/python/pull/161/commits/12d158e9f2b0db610d06686a3fe66afa1880b06e
https://github.com/Bludator/mautrix-pythonhttps://github.com/Bludator/mautrix-python
12d158ehttps://github.com/mautrix/python/pull/161/commits/12d158e9f2b0db610d06686a3fe66afa1880b06e
https://github.com/Bludator
Bludatorhttps://github.com/Bludator
Sep 26, 2023 https://github.com/mautrix/python/pull/161#ref-pullrequest-1913511470
Keep config file permissions mautrix/go-util#1 https://github.com/mautrix/go-util/pull/1
Bludatorhttps://github.com/Bludator
October 1, 2023 21:27https://github.com/mautrix/python/pull/161#commits-pushed-60d46ef
https://github.com/Bludator
fix formatinghttps://github.com/mautrix/python/pull/161/commits/60d46ef9759d1e843007892cfcfc930907e028ee
60d46efhttps://github.com/mautrix/python/pull/161/commits/60d46ef9759d1e843007892cfcfc930907e028ee
https://github.com/Bludator
Merge branch 'mautrix:master' into masterhttps://github.com/mautrix/python/pull/161/commits/68058cc82b330e4e3483bb3e85dc936eb2785844
68058cchttps://github.com/mautrix/python/pull/161/commits/68058cc82b330e4e3483bb3e85dc936eb2785844
https://github.com/Bludator
Merge branch 'mautrix:master' into masterhttps://github.com/mautrix/python/pull/161/commits/3ea72032448b8ae1a21c8c6eecf41ce8532944c5
3ea7203https://github.com/mautrix/python/pull/161/commits/3ea72032448b8ae1a21c8c6eecf41ce8532944c5
https://github.com/Bludator
Merge branch 'mautrix:master' into masterhttps://github.com/mautrix/python/pull/161/commits/456952744e144e1dbf9bde30e231c955b46f6c7a
4569527https://github.com/mautrix/python/pull/161/commits/456952744e144e1dbf9bde30e231c955b46f6c7a
https://github.com/Bludator
Merge branch 'mautrix:master' into masterhttps://github.com/mautrix/python/pull/161/commits/721da5ed45e0dc0ee37e71e7df327310f6a15618
721da5ehttps://github.com/mautrix/python/pull/161/commits/721da5ed45e0dc0ee37e71e7df327310f6a15618
https://github.com/Bludator
Merge branch 'mautrix:master' into masterhttps://github.com/mautrix/python/pull/161/commits/5a184a3907efb0bb126e17d5dd900e6b083e8a5e
5a184a3https://github.com/mautrix/python/pull/161/commits/5a184a3907efb0bb126e17d5dd900e6b083e8a5e
https://github.com/Bludator
Merge branch 'mautrix:master' into masterhttps://github.com/mautrix/python/pull/161/commits/56efa245799a3f4da2594abae1d50b888cc1c351
56efa24https://github.com/mautrix/python/pull/161/commits/56efa245799a3f4da2594abae1d50b888cc1c351
https://github.com/Bludator
Merge branch 'mautrix:master' into masterhttps://github.com/mautrix/python/pull/161/commits/8112b9becdc6a5cad3db224a13ee635bcc8749b7
8112b9bhttps://github.com/mautrix/python/pull/161/commits/8112b9becdc6a5cad3db224a13ee635bcc8749b7
https://github.com/Bludator
Merge branch 'mautrix:master' into masterhttps://github.com/mautrix/python/pull/161/commits/bc5814c31473dd686eae28dc5853883ae305555c
bc5814chttps://github.com/mautrix/python/pull/161/commits/bc5814c31473dd686eae28dc5853883ae305555c
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmautrix%2Fpython%2Fpull%2F161
Please reload this pagehttps://github.com/mautrix/python/pull/161
https://github.com/Bludator
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.