Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
live-build
Commits
21ada8a3
Commit
21ada8a3
authored
Apr 28, 2014
by
Daniel Baumann
Browse files
Correcting os.chmod usage in lb init.
parent
eeb46805
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/init
View file @
21ada8a3
...
...
@@ -144,11 +144,11 @@ def main():
os
.
makedirs
(
'config/includes.source'
,
exist_ok
=
True
)
# Ensure correct include directory permissions avoiding tainting of target system
os
.
chmod
(
'config/includes'
,
0755
)
os
.
chmod
(
'config/includes.bootstrap'
,
0755
)
os
.
chmod
(
'config/includes.chroot'
,
0755
)
os
.
chmod
(
'config/includes.binary'
,
0755
)
os
.
chmod
(
'config/includes.source'
,
0755
)
os
.
chmod
(
'config/includes'
,
0
o
755
)
os
.
chmod
(
'config/includes.bootstrap'
,
0
o
755
)
os
.
chmod
(
'config/includes.chroot'
,
0
o
755
)
os
.
chmod
(
'config/includes.binary'
,
0
o
755
)
os
.
chmod
(
'config/includes.source'
,
0
o
755
)
# Configuring default package lists
os
.
makedirs
(
'config/package-lists'
,
exist_ok
=
True
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment