Commit dcacee28 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

pithcat: Set default umask to 007

parent a964117f
...@@ -96,9 +96,9 @@ parser.add_option('-s', action='store_true', dest='size', default=False, ...@@ -96,9 +96,9 @@ parser.add_option('-s', action='store_true', dest='size', default=False,
parser.add_option('--db', dest='db', metavar='URI', parser.add_option('--db', dest='db', metavar='URI',
help='SQLAlchemy URI of the database [DANGEROUS: Do not use,' help='SQLAlchemy URI of the database [DANGEROUS: Do not use,'
'see NOTE below]', default=None) 'see NOTE below]', default=None)
parser.add_option('--umask', dest='umask', metavar='UMASK', type='int', parser.add_option(
default=None, '--umask', dest='umask', metavar='UMASK', type='int', default=0o7,
help='change the process\' file mode mask to UMASK') help='change the process\' file mode mask to UMASK (default: 007)')
LocationURL = namedtuple('LocationURL', ['account', 'container', 'object']) LocationURL = namedtuple('LocationURL', ['account', 'container', 'object'])
HashmapURL = namedtuple('HashmapURL', ['hash', 'size']) HashmapURL = namedtuple('HashmapURL', ['hash', 'size'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment