GitHub user WangTaoTheTonic opened a pull request:

    https://github.com/apache/flink/pull/3335

    [FLINK-5818][Security]change checkpoint dir permission to 700

    Now checkpoint directory is made w/o specified permission, so it is easy 
for another user to delete or read files under it, which will cause restore 
failure or information leak.
    
    It's better to lower it down to 700.
    
    - [x] Tests & Build
      - Functionality added by the pull request is covered by tests
    
![chp-filesystem-session](https://cloud.githubusercontent.com/assets/5276001/23019741/d753e8e0-f47e-11e6-9f2e-2cd35de35ef1.JPG)
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/WangTaoTheTonic/flink FLINK-5818

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3335.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3335
    
----
commit 02eef87dc2bfaa6737efad023916898719d34fe2
Author: WangTaoTheTonic <wangtao...@huawei.com>
Date:   2017-02-16T11:24:43Z

    change checkpoint dir permission to 700

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to