[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Operation not permitted



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 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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]