You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/06/21 11:51:58 UTC

[GitHub] [hadoop] elek opened a new pull request #1002: HDDS-1716. Smoketest results are generated with an internal user

elek opened a new pull request #1002: HDDS-1716. Smoketest results are generated with an internal user
URL: https://github.com/apache/hadoop/pull/1002
 
 
   [~eyang] reported the problem in HDDS-1609 that the smoketest results are generated a user (the user inside the docker container) which can be different from the host user.
   
   There is a minimal risk that the test results can be deleted/corrupted by an other users if the current user is different from uid=1000
   
   I opened this issue because [~eyang] said me during an offline discussion that HDDS-1609 is a more complex issue and not only about the ownership of the test results.
   
   I suggest to handle the two problems in different way. With this patch, the permission of the test result files can be fixed easily.
   
   In HDDS-1609 we can discuss about general security problems and try to find generic solution for them.
   
   Steps to reproduce _this_ the problem:
    # Use a user which is different from uid=1000
    # Create a new ozone build (mvn clean install -f pom.ozone.xml -DskipTests)
    # Go to a compose directory (cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/)
    # Execute tests (./test.sh)
    # check the ownership of the results (ls -lah ./results)
   
   Current result: the owner of the result files are the user uid=1000
   
   Expected result: the owner of the files should be always the current user (even if the current uid is different)
   
    
   
   See: https://issues.apache.org/jira/browse/HDDS-1716

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org