Question on mounted and working directory permissions

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Apologies if this is not the right place to ask, if there is a better forum for newbie questions please let me know I’m running through the “Becoming ansible” book and the first chapter has us setting up a docker image running ansible. It’s a pretty vanilla image here is the docker file ​ FROM centos:centos7.7.1908 RUN yum check-update; yum install -y gcc libffi-devel python3 epel-release; yum install -y openssh-clients; pip3 install –upgrade pip; pip3 install ansible ​ In my working directory I have a file named ansible drwxrwxr-x. 2 ec2-user ec2-user 6 Sep 16 13:35 ansible -rw-rw-r–. 1 ec2-user ec2-user 200 Sep 16 13:22 Dockerfile And I kick off the image with the image with the following command docker run -it –rm –volume “.:/ansible” ansible Inside the image I see the ansible directory and the permissions look fine ​ [[email protected] /]# ls -al total 12 … drwxrwxr-x. 3 root root 39 Sep 16 13:35 ansible …. [[email protected] /]# id uid=0(root) gid=0(root) groups=0(root) [[email protected] /]# I can cd into the directory but when I try to ls or touch a file it just gives me “permission denied” Any ideas at what I’m doing wrong? submitted by /u/EvilHomerSimpson [link] [comments]

X ITM Cloud News

Patricia

Leave a Reply

Next Post

Self-Service Kubernetes Namespaces Are A Game-Changer

Wed Sep 16 , 2020
Spread the love           submitted by /u/dthiry [link] [comments] X ITM Cloud News
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM