Skip to content

Commit

Permalink
Support larger uids and gids
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Kelly committed Jun 25, 2018
1 parent b730f88 commit b42e6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ def main(apiurl, opts, argv):
if opts.build_uid:
build_uid = opts.build_uid
if build_uid:
buildidre = re.compile('^[0-9]{1,5}:[0-9]{1,5}$')
buildidre = re.compile('^[0-9]+:[0-9]+$')
if build_uid == 'caller':
buildargs.append('--uid=%s:%s' % (os.getuid(), os.getgid()))
elif buildidre.match(build_uid):
Expand Down

0 comments on commit b42e6f5

Please sign in to comment.