mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +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:
|
||||
msg += ' Try running as user {0}.'.format(user)
|
||||
else:
|
||||
msg += ' Please give {0} read permissions.'.format(user,
|
||||
tpath)
|
||||
msg += ' Please give {0} read permissions.'.format(user)
|
||||
|
||||
# We don't need to bail on config file permission errors
|
||||
# if the CLI
|
||||
|
Loading…
Reference in New Issue
Block a user