You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2016/04/12 20:12:25 UTC

[jira] [Created] (BIGTOP-2386) Got permission denied when running as non-root

Evans Ye created BIGTOP-2386:
--------------------------------

             Summary: Got permission denied when running as non-root 
                 Key: BIGTOP-2386
                 URL: https://issues.apache.org/jira/browse/BIGTOP-2386
             Project: Bigtop
          Issue Type: Sub-task
          Components: docker, provisioner
    Affects Versions: backlog
            Reporter: Evans Ye
            Assignee: Evans Ye


Since docker volume mount automatically creates files/folders on host machine with root permission if not existed yet, there's no way for non-root user to further edit files/folders. There're two options:
* Create folders manually so that it will be owned by users instead of root
* Edit files inside the container with root.
We'll use the first for config sharing and the second for /etc/hosts updates.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)