Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
common-config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
id
eigenservice
common-config
Commits
060889e8
Commit
060889e8
authored
3 years ago
by
David Huss
Browse files
Options
Downloads
Patches
Plain Diff
Try priviledge escalation
parent
14ef5d74
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
common_config/__init__.py
+1
-1
1 addition, 1 deletion
common_config/__init__.py
common_config/common.py
+1
-1
1 addition, 1 deletion
common_config/common.py
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
with
3 additions
and
3 deletions
common_config/__init__.py
+
1
−
1
View file @
060889e8
__version__
=
'
0.1.
8
'
__version__
=
'
0.1.
9
'
from
common_config.common
import
*
\ No newline at end of file
This diff is collapsed.
Click to expand it.
common_config/common.py
+
1
−
1
View file @
060889e8
...
...
@@ -425,7 +425,7 @@ def create_config():
config_path
.
write_text
(
DEFAULT_CONFIG
)
except
PermissionError
as
e
:
python_path
=
f
"
{
sys
.
prefix
}
/bin/python3
"
script_path
=
f
"
{
__file__
}
"
script_path
=
f
"
{
os
.
path
.
basename
(
__main__
.
__file__
)
}
"
print
()
print
(
f
"
Error: Didn
'
t have the permissions to write the file to
{
config_path
}
"
,
file
=
sys
.
stderr
)
print
(
f
"
Directory
\"
{
selection
[
'
path
'
]
}
\"
belongs to user
{
selection
[
'
path
'
].
owner
()
}
(was running as user
{
getpass
.
getuser
()
}
)
"
,
file
=
sys
.
stderr
)
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
060889e8
[tool.poetry]
name
=
"common-config"
version
=
"0.1.
8
"
version
=
"0.1.
9
"
description
=
"A config library for eigenservice"
authors
=
[
"David Huss <dh@atoav.com>"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment