Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problemas de permisos al usar docker en modo dev #5

Open
arieljlira opened this issue Sep 11, 2018 · 0 comments
Open

Problemas de permisos al usar docker en modo dev #5

arieljlira opened this issue Sep 11, 2018 · 0 comments

Comments

@arieljlira
Copy link
Member

Cuando data y m2 se montan como path-bind se mezclan los permiso de root que ejecuta dentro de docker con el 1000 que ejecuta desde afuera.
Unificar o enmascarar permisos en modo dev para evitar que esto pase.
En el caso de data fuerza a usar sudo desde afuera.
En el caso de m2 impide que se use el mismo repo desde otro usuario ya que mvn no puede crear los archivos que precisa. Ej
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project dspace-services: Unable to generate classpath: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information for org.apache.maven.surefire:surefire-junit4:jar:2.19.1: Failed to retrieve POM for org.apache.maven.surefire:surefire-junit4:jar:2.19.1: Could not transfer artifact org.apache.maven.surefire:surefire-junit4:pom:2.19.1 from/to libs-release /home/ariel/.m2/repository/org/apache/maven/surefire/surefire-junit4/2.19.1/surefire-junit4-2.19.1.pom.part.lock (No existe el archivo o el directorio)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant