I haven't tried doing any volume mounting with nginx on OpenShift, but this always works for me:
oadm policy add-scc-to-user anyuid -z default oc run --image nginx nginx Andy On Fri, Sep 23, 2016 at 1:36 PM, Charles Moulliard <[email protected]> wrote: > How can I change that for the user admin ? > > Tried these cmds without success to add the user admin > > oadm policy add-scc-to-user restricted admin > oc describe scc restricted > Name: restricted > Priority: <none> > Access: > Users: admin > ... > > but > > oc logs local-nginx > 2016/09/23 17:20:13 [emerg] 5#5: setgid(107) failed (1: Operation not > permitted) > > > On Fri, Sep 23, 2016 at 7:32 PM, Clayton Coleman <[email protected]> > wrote: > >> Regular users can't change groups by default. Generally you have to be >> in a higher tier of privilege - the "anyuid" SCC (setgid is equivalent to >> root usually) >> >> On Sep 23, 2016, at 1:03 PM, Charles Moulliard <[email protected]> >> wrote: >> >> Hi, >> >> Can somebody help me concerning this (setgid(107) failed (1: Operation >> not permitted)) issue reported here - https://github.com/jimmidyso >> n/minishift/issues/105#issuecomment-249245765 ? >> >> Many thanks in advance >> >> Charles >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> >> > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > >
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
