mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
closes #14557
This commit is contained in:
parent
37470d81b4
commit
273dd411a4
@ -360,8 +360,7 @@ def check_path_traversal(path, user='root', skip_perm_errors=False):
|
|||||||
if user != current_user:
|
if user != current_user:
|
||||||
msg += ' Try running as user {0}.'.format(user)
|
msg += ' Try running as user {0}.'.format(user)
|
||||||
else:
|
else:
|
||||||
msg += ' Please give {0} read permissions.'.format(user,
|
msg += ' Please give {0} read permissions.'.format(user)
|
||||||
tpath)
|
|
||||||
|
|
||||||
# We don't need to bail on config file permission errors
|
# We don't need to bail on config file permission errors
|
||||||
# if the CLI
|
# if the CLI
|
||||||
|
Loading…
Reference in New Issue
Block a user