On Sunday, December 15, 2019 at 6:38:44 PM UTC+1, anemarkus wrote: > > > > On Saturday, December 14, 2019 at 2:54:50 PM UTC+1, Dick Visser wrote: >> >> Sounds like something with umask is off on your control system. >> Remove the venv dir, and try again, but now first issue "umask 002" >> before creating the venv. >> > > it is not the umask > > with umask 000 i get > > -rw-rw-rw-. 1 mafalb mafalb 5983 Dec 15 18:31 ansible >
also with umask 000 if I install ansible-lint I get -rwxrwxrwx. 1 mafalb mafalb 273 Dec 15 18:41 ansible-venv/bin/ansible-lint my interpretation: the permission problem is only with installed executables from ansible, not others. it seems it is a problem with ansible but only under specific circumstances. -- best regards, markus > >> On Sat, 14 Dec 2019 at 10:45, anemarkus <[email protected]> wrote: >> > >> > hi, >> > I installed ansible via pip on a CentOS 7 workstation >> > >> > $ sudo yum install python-virtualenv >> > $ virtualenv venv >> > $ . venv/bin/activate >> > $ pip install ansible >> > >> > but all installed binaries are missing the execute permission >> > >> > $ ls -l venv/bin/ansible >> > -rw-rw-r--. 1 me me 5975 Dec 14 10:35 venv/bin/ansible >> > >> > why is that? >> > yes, there is the pip warning. >> > >> >> You are using pip version 9.0.1, however version 19.3.1 is available. >> >> You should consider upgrading via the 'pip install --upgrade pip' >> command. >> > >> > >> > i tried upgrading pip, setuptools and wheel inside the virtualenv, but >> no change -> missing execute bits >> > >> > I also tried in a CentOS 7 container and installing inside the >> container went fine -> correct permissions, i.e. execute bits set. >> > I tried on another workstation -> missing execute bits >> > I tried on server -> execute bits are set. >> > >> > I do not know how to debug this to solve the problem, asking for help. >> > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/da9531f9-b1a5-447d-b5b3-7051587404d7%40googlegroups.com.
