Quanlong Huang created IMPALA-13941:
---------------------------------------
Summary: Show the current permissions of /var/tmp in error message
Key: IMPALA-13941
URL: https://issues.apache.org/jira/browse/IMPALA-13941
Project: IMPALA
Issue Type: Improvement
Reporter: Quanlong Huang
We have an error message like this:
{code:java}
Error: The permissions on /var/tmp must precisely match "drwxrwxrwt". This
directory is used by the Kerberos replay cache. To rectify this issue, run
"chmod 01777 /var/tmp" as root.{code}
It'd be helpful to also report the current permissions. Related codes:
{code:cpp}
if ((st.st_mode & 01777) != 01777) {
return Status("Error: The permissions on /var/tmp must precisely match "
"\"drwxrwxrwt\". This directory is used by the Kerberos replay cache.
To "
"rectify this issue, run \"chmod 01777 /var/tmp\" as root.");
}{code}
[https://github.com/apache/impala/blob/5f06f4743007bda13d1d45c2a16adab472e7ba23/be/src/rpc/authentication.cc#L1236-L1240]
Tests can be added in tests/custom_cluster/test_logging.py
--
This message was sent by Atlassian Jira
(v8.20.10#820010)