Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [permissions]

The tag has no usage guidance.

0
votes
0answers
27 views

Can not run Ansible command with another user

I have this in my yml: --- - hosts: standby sudo: true sudo_user: test roles: - zab When I want to run an ansible command like /usr/bin/ansible-playbook -i /path zab.yml --tags ...
0
votes
1answer
17 views

how to give a user privilege to run Ansible commands or just an specific tag?

for example, I have a tag named 'installagent' and i want to run this command ansible -playbook -i /path agent.yml --tags installagent from another server via ssh on my Ansible server with user '...
8
votes
4answers
122 views

How do you limit access to the production environment in the company you work for?

In the company I work for, devops engineers (currently only 2 members, who are me and another coworker) are the only people who have access to the production database. So when any other developers ...
5
votes
2answers
9k views

How to change the owner of VOLUME directory in Dockerfile?

I've got the following Dockerfile: FROM ubuntu:xenial RUN useradd -d /home/ubuntu -ms /bin/bash -g root -G sudo -p ubuntu ubuntu WORKDIR /home/ubuntu USER ubuntu VOLUME /opt/myvolume Which I built ...
2
votes
1answer
2k views

Permission errors with non-root USER when running on Linux

I have been getting some unexpected failures with the execution of my Docker images when running on my Ubuntu 16.04.3 LTS machine. I'm using Docker version 18.02.0-ce (edge), installed from apt. I've ...
2
votes
2answers
607 views

Using docker with users leaves files belonging to the subuid/subgid

Background I wish to make sure all people and automated processes working with my project use the exact same version and environment of some tool which has to do work on the host file system. ...
2
votes
1answer
1k views

Ansible tmp files created with odd permissions

I have an ansible playbook which can be simplified to this: - name: Provision server hosts: all_hosts become: yes ...
10
votes
1answer
105 views

How to restrict filesystem access in Atlassian Bamboo builds?

We have Atlassian Bamboo running on Ubuntu. When a developer is setting up a build, then he has the possibility to run shell script tasks. This is useful to run (custom) commands on the codebase you ...
5
votes
0answers
94 views

Error connecting to agent: Bad address (Powershell) [closed]

I have a TeamCity instance running with 4 build agents. 3 are dedicated to our website and service deployments, while 1 is dedicated to our silverlight application. We use a lot of powershell ...
1
vote
1answer
3k views

What are the different job permissions possible in Jenkins, and what are the reasons you would use each?

I'd like to understand better job permissions in Jenkins. What type of user permissions can I setup in Jenkins? And when would you use each?