Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image
Commits
dcacee28
Commit
dcacee28
authored
Oct 22, 2014
by
Nikos Skalkotos
Browse files
pithcat: Set default umask to 007
parent
a964117f
Changes
1
Show whitespace changes
Inline
Side-by-side
snf-image-host/pithcat
View file @
dcacee28
...
...
@@ -96,9 +96,9 @@ parser.add_option('-s', action='store_true', dest='size', default=False,
parser
.
add_option
(
'--db'
,
dest
=
'db'
,
metavar
=
'URI'
,
help
=
'SQLAlchemy URI of the database [DANGEROUS: Do not use,'
'see NOTE below]'
,
default
=
None
)
parser
.
add_option
(
'--umask'
,
dest
=
'umask'
,
metavar
=
'UMASK'
,
type
=
'int'
,
default
=
None
,
help
=
'change the process
\'
file mode mask to UMASK'
)
parser
.
add_option
(
'--umask'
,
dest
=
'umask'
,
metavar
=
'UMASK'
,
type
=
'int'
,
default
=
0o7
,
help
=
'change the process
\'
file mode mask to UMASK
(default: 007)
'
)
LocationURL
=
namedtuple
(
'LocationURL'
,
[
'account'
,
'container'
,
'object'
])
HashmapURL
=
namedtuple
(
'HashmapURL'
,
[
'hash'
,
'size'
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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