
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Preserving read-only flags on package data causing access denied when building Β· Issue #1424 Β· pypa/setuptools
Description:
I'm working with a read-only source directory on Windows and running into access denied errors when calling python setup.py bdist_wheel. I noticed that it was only files included in package_dat...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- DIY & Home Improvement
- Real Estate
Content Management System {π}
What CMS is github.com built with?
Github.com is based on WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,653,926 visitors per month in the current month.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 5,316,180 paying customers.
The estimated monthly recurring revenue (MRR) is $22,327,958.
The estimated annual recurring revenues (ARR) are $267,935,490.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
readonly, package, files, setuptools, issue, version, build, windows, wheel, folder, mentioned, file, preserving, miuliano, jorikdima, modes, pip, source, sign, issues, data, access, denied, flag, command, sparkbuild, explicitly, projects, flags, causing, building, bdistwheel, target, distutils, mode, added, status, commented, copying, hyukjinkwon, navigation, solutions, open, code, pull, requests, actions, security, closed, errors,
Topics {βοΈ}
cpython/lib/distutils/command/build_py setuptools/setuptools/command/build_py [spark-31231][build][follow activity pganssle added distutils code access denied errors version control system great job breaking write bits unset build wheel crashes org/3/library/shutil 936a8c6 mattclay mentioned 223b9fb jorikdima mentioned bdist_wheel command finishes comment metadata assignees preserves file modes org/3/library/os rmtree error handling access denied package data windows-specific hack projects milestone preserve file modes preserving modes distutils version calling python setup pkg files copying triage issues build_py command preserving mode wheel package miuliano mentioned setuptools implementation updated version solutions open source directory major issue projects jorikdima mentioned build step bdist_wheel command build folder file modes building wheel preserve things ci system issues call shutil preserving
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
- I don't know if there is a good reason to preserve things like read-only flags?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Preserving read-only flags on package data causing access denied when building
articleBody:I'm working with a read-only source directory on Windows and running into access denied errors when calling `python setup.py bdist_wheel`. I noticed that it was only files included in package_data that were causing this, which helped me track it down to:
[setuptools/setuptools/command/build_py.py](
https://github.com/pypa/setuptools/blob/89155abb4222cf5a9dc81120e5c71e26b5af68f9/setuptools/command/build_py.py#L123)
`outf, copied = self.copy_file(srcfile, target)`
which is slightly different from its distutils version:
[cpython/Lib/distutils/command/build_py.py](
https://github.com/python/cpython/blob/d6345def68d3a0227253da26213dadb247f786db/Lib/distutils/command/build_py.py#L141)
`self.copy_file(os.path.join(src_dir, filename), target, preserve_mode=False)`
So it looks like it comes down to this preserve_mode flag.
I don't know if there is a good reason to preserve things like read-only flags? There's a [comment](https://github.com/python/cpython/blob/d6345def68d3a0227253da26213dadb247f786db/Lib/distutils/command/build_py.py#L74) about preserving mode further up in the distutils code, which seems to suggest not preserving is the way to go.
author:
url:https://github.com/miuliano
type:Person
name:miuliano
datePublished:2018-07-12T17:44:35.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:3
url:https://github.com/1424/setuptools/issues/1424
context:https://schema.org
headline:Preserving read-only flags on package data causing access denied when building
articleBody:I'm working with a read-only source directory on Windows and running into access denied errors when calling `python setup.py bdist_wheel`. I noticed that it was only files included in package_data that were causing this, which helped me track it down to:
[setuptools/setuptools/command/build_py.py](
https://github.com/pypa/setuptools/blob/89155abb4222cf5a9dc81120e5c71e26b5af68f9/setuptools/command/build_py.py#L123)
`outf, copied = self.copy_file(srcfile, target)`
which is slightly different from its distutils version:
[cpython/Lib/distutils/command/build_py.py](
https://github.com/python/cpython/blob/d6345def68d3a0227253da26213dadb247f786db/Lib/distutils/command/build_py.py#L141)
`self.copy_file(os.path.join(src_dir, filename), target, preserve_mode=False)`
So it looks like it comes down to this preserve_mode flag.
I don't know if there is a good reason to preserve things like read-only flags? There's a [comment](https://github.com/python/cpython/blob/d6345def68d3a0227253da26213dadb247f786db/Lib/distutils/command/build_py.py#L74) about preserving mode further up in the distutils code, which seems to suggest not preserving is the way to go.
author:
url:https://github.com/miuliano
type:Person
name:miuliano
datePublished:2018-07-12T17:44:35.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:3
url:https://github.com/1424/setuptools/issues/1424
Person:
url:https://github.com/miuliano
name:miuliano
url:https://github.com/miuliano
name:miuliano
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:3
interactionType:https://schema.org/CommentAction
userInteractionCount:3
External Links {π}(5)
- Discover the revenue of https://github.blog
- Earnings of https://docs.python.org/3/library/os.html#os.chmod
- What's the monthly income of https://docs.python.org/3/library/shutil.html#rmtree-example?
- See how much https://issues.apache.org/jira/browse/SPARK-31231 makes per month
- Find out how much https://www.githubstatus.com/ earns monthly
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net