[ https://issues.apache.org/jira/browse/ATLAS-4993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj resolved ATLAS-4993. ------------------------------------- Fix Version/s: 3.0.0 2.5.0 Resolution: Fixed > Ensure ${HOME}/.m2 directory exists before starting Atlas build > --------------------------------------------------------------- > > Key: ATLAS-4993 > URL: https://issues.apache.org/jira/browse/ATLAS-4993 > Project: Atlas > Issue Type: Improvement > Components: atlas-docker > Affects Versions: 2.4.0 > Reporter: Eric > Priority: Minor > Fix For: 3.0.0, 2.5.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Currently, when running the Atlas build process using: > docker-compose -f docker-compose.atlas-base.yml -f > docker-compose.atlas-build.yml up > some users encounter permission errors related to the {{.m2}} directory. > To address this, we need to ensure that the {{${HOME}/.m2}} directory exists > before starting the build. Instead of adding an extra setup step, this change > updates Step *6.1* in the README to include: > mkdir -p ${HOME}/.m2 > before the build command. > This prevents permission issues without introducing long delays caused by > recursive ownership changes. > *Impact:* > * Avoids build failures due to missing {{.m2}} directory. > * Speeds up execution by eliminating the need for a full {{chown}} on > {{{}.m2/repository{}}}. -- This message was sent by Atlassian Jira (v8.20.10#820010)