[ 
https://issues.apache.org/jira/browse/IMPALA-13941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016232#comment-18016232
 ] 

Rajat commented on IMPALA-13941:
--------------------------------

Hi [~stigahuang],

If this issue is still unassigned i want to take this issue.

> 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
>            Priority: Major
>              Labels: newbie, ramp-up
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to