I get a bunch of "Operation not permitted" errors as I am trying to deploy a
docker container from docker.io:
chown: changing ownership of '/usr/local/var/lib/couchdb/lost+found': Operation
not permitted
chown: changing ownership of '/usr/local/var/lib/couchdb': Operation not
permitted
chown: changing ownership of '/usr/local/var/log/couchdb': Operation not
permitted
chown: changing ownership of '/usr/local/var/run/couchdb': Operation not
permitted
chown: changing ownership of '/usr/local/etc/couchdb/default.ini': Operation
not permitted
chown: changing ownership of '/usr/local/etc/couchdb/local.d': Operation not
permitted
chown: changing ownership of '/usr/local/etc/couchdb/local.ini': Operation not
permitted
chown: changing ownership of '/usr/local/etc/couchdb/default.d': Operation not
permitted
chown: changing ownership of '/usr/local/etc/couchdb': Operation not permitted
The Dockerfile
<https://github.com/klaemo/docker-couchdb/blob/master/1.6.1/Dockerfile> indeed
has instructions to change the permissions inside of the container:
[...]
&& chown -R couchdb:couchdb \
/usr/local/lib/couchdb /usr/local/etc/couchdb \
/usr/local/var/lib/couchdb /usr/local/var/log/couchdb
/usr/local/var/run/couchdb \
&& chmod -R g+rw \
/usr/local/lib/couchdb /usr/local/etc/couchdb \
/usr/local/var/lib/couchdb /usr/local/var/log/couchdb
/usr/local/var/run/couchdb \
[...]
Note that selinux is disabled on my cluster's machines.
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users